typo3powermail

Add send date to HTML mail in TYPO3 powermail


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

Thanks in Advance


Solution

  • 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')}