Debug the send of email

crdate : 2008/03/06

by : Loredana Zeca

 in : Tutorial

There is a new function which allows you to debug the send of email.

Now, if you have to make some tests on the mail sent, you can use this command line :

<meta>

       <debugSendMail>typo3dev@ameos.com</debugSendMail>

</meta>

 

Now all the mails won’t be sent directly to the real receivers, but to you, at the address specified into the debugSendMail.

At the end of the mail, you will see a message telling you the real receivers of the email. There will be something like that:

          "This mail will be sent to …"

 

Hope this can be useful for you.


The code is also available in the code library: formidable.typo3.ug/pastebin/snippet/17.html

« Back to list