[TYPO3-core] RFC #15998: Create a new API based on SwiftMailer to replace t3lib_htmlmail
Martin Kutschker
masi-no at spam-typo3.org
Sun Oct 17 12:09:43 CEST 2010
Am 17.10.2010 12:02, schrieb Ernesto Baschny [cron IT]:
>
> You compose your message using t3lib_mail_message:
>
> $message = t3lib_div::makeInstance('t3lib_mail_message');
> $message->setFrom(array($email => $name));
> $message->setTo(array($email => $name));
I hope "from" and "to" are not mandatory as they have no meaning in a NNTP message.
> Cool, isn't it?
Yep. That's the way it should be.
Masi
More information about the TYPO3-team-core
mailing list