[Typo3-dev] make t3lib_htmlmail->sendTheMail() return a value
Kasper Skårhøj
kasper2005 at typo3.com
Wed Mar 23 17:21:11 CET 2005
Make sure to approach Jan-Erik Revbeck on this because he is maintaining
the script.
- kasper
On Wed, 2005-03-23 at 16:52, Martin Kutschker wrote:
> Hi!
>
> Ok, it returns a value, but only to signal wheter it tried to send a mail at
> all. Would be nice if it'd reported more than this.
>
> Either it could return true/false depending on the return value of
> mail($this->recipient,..) or it could return some kind of bitmask
> (1=mail,2=copy) or return array (eg ret[mail]=true,ret[copy]=false).
>
> Perhaps mail($this->recipient_copy,..) shouldn't be invoked at all if
> mail($this->recipient,..) failed.
>
> Any opinions?
>
> Masi
>
>
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
--
- kasper
*******************
Happy new year! - My email address is now:
kasper2005 at typo3.com
More information about the TYPO3-dev
mailing list