Troubleshoot multiple emails sent by HtmlmimeMail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
floydus
Forum Newbie
Posts: 1
Joined: Mon Dec 01, 2008 10:17 am

Troubleshoot multiple emails sent by HtmlmimeMail

Post by floydus »

I'm using htmlMimeMail it's working fine except that the same email is sent multipe times to the same address, is there a way to fix it ? In fact, to inform you, the header and time is different for each email... It might be the webserver, is there a way to fix this issue, should I use another method for sending my email.
Can you quickly suggest some tips, or a way to debug it ?

Oh here's my code, part of it do...

Code: Select all

$mail = new htmlMimeMail();
     $mail->setHtml("Bla bla bla");
        $mail->setReturnPath("myaddress@myserver.com");
        $mail->setFrom(meftexte("user...")"<"is email>");
        $mail->setSubject('WebSite Form Submit');
        $mail->setHeader('X-Mailer', 'My Company');
        $result = $mail->send(array ('add1@on.ca', 'add2@on.ca','add3@on.ca'), 'smtp');
.....

Thanks.
Post Reply