[TYPO3-core] RFC #17336: Swift Mailer Adapter does not parse To: addresses

Martin Kutschker masi-no at spam-typo3.org
Thu Jan 27 08:49:03 CET 2011


Am 26.01.2011 21:28, schrieb Ernesto Baschny [cron IT]:
> Martin Kutschker schrieb am 26.01.2011 21:26:
>> Am 26.01.2011 14:27, schrieb Ernesto Baschny [cron IT]:
>>> 3) call setTo('') = Exception thrown: "Address in mailbox given [] does
>>> not comply with RFC 2822, 3.6.2."
>>
>> 3.6.2 deals with the "originator fields": From, Sender, Reply-To. You probably meant 3.6.3, but I
>> cannot find any lines that requires a To:.
> 
> It's not a header that is not required, but if you have not recipient,
> you have no reason to send the mail. So this is the solution which was
> at the end introduced.

I don't object the solution, but the wording of the exception suggested for 3) is IMHO wrong. And
actually I don't think that it is a problem that the TYPO3 API can only send mails with a To: header
even if it is technically correct to send mails without.

I was just nitpicking.

Masi


More information about the TYPO3-team-core mailing list