Add send date to HTML mail in TYPO3 powermail

541 Views Asked by At

Is it possible to add the send date to the HTML mail which is sent?

Thanks in Advance

1

There are 1 best solutions below

1
On BEST ANSWER

It is not possible to use the mail variable like {mail.crdate} in RTE or in HTML-Template because the mail object is not yet persisted (saved) at the moment when the mails are sent. Using a format.date ViewHelper as a Workarround should help: {f:format.date(date:'now', format:'%d.%m.%Y %H:%M')}