[TYPO3-dev] strange behaviour MailMessage Class
Philipp
philippwrann at gmx.at
Mon Apr 22 13:03:22 CEST 2013
Hi,
In my extension i implemented a contact-routine. Pretty basic, i use the TYPO3\CMS\Core\Mail\MailMessage Class
I make 2 instances, one clientMail and one serverMail
When calling
clientMail->send();
serverMail->send();
Sonetimes it happens that the Recipient gets the wrong mail. So for the moment i added a usleep(300) between those to actions, but thats not the solution. Do i have to destroy the first object and create Then the second one? Or can i just reset the MailMessageClass after sending it the first time?
Got any experience with that?
More information about the TYPO3-dev
mailing list