[TYPO3-core] FYI Added feature #17033: [reports] Notification Emails for system status updates

Jigal van Hemert jigal at xs4all.nl
Tue Jan 18 12:42:51 CET 2011


Hi,

On 18-1-2011 11:32, Ingo Renner wrote:
> Jigal van Hemert wrote:
>> I would very much like a function which returns the first valid email
>> address of the following list:
>> - the address given as parameter
>
> doesn't make a lot of sense to me, since in this case you do know an
> address already, why should you want to look up another one then?! ;)

If you send a form to the address set in the form definition you usually 
use the address of the person who entered the information as the sender 
(easy for the receiver to just hit the reply button).
If this address is not valid and SMTP is used as transport the SMTP 
server will very likely refuse the mail message.

It is very handy to just use:
$from = makeValidSender($from);
and be sure that the address is at least valid to increase the odds that 
it will be delivered.

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list