[TYPO3-core] RFC: Feature #14098: When sending mail, use TYPO3_CONF_VAR for default from address if no other address is provided

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Jan 21 13:10:58 CET 2011


Jigal van Hemert schrieb am 21.01.2011 12:25:
> On 20-1-2011 19:26, Ingo Renner wrote:
>> After also talking to Ernesto again...
>> committed to trunk in r10167
>> yay for default email from address!
> 
> When working on #17065 I just noticed in the description of
> defaultMailFromAddress that not only an email address is allowed in this
> field, but a complete RFC822 compliant "address".
> 
> This is not very convenient in the light of moving mail handling to
> Swift Mailer. To use such complete "addresses" we need to parse them
> prior to using them. Swift Mailer cannot use "addresses" with names,
> groups, comments, etc. but builds such addresses internally from the
> separated names, email addresses, etc. which are passed to mail object.
> 
> Could we change the description and limit this field to only a single
> email address without further "decoration"?

Yes, have a separate field for the name, so that we don't need to parse
that before using it!!

And if you do that, please move that setting to the [MAIL] section so
that we can bundle them together.

Thanks!

Cheers,
Ernesto



More information about the TYPO3-team-core mailing list