PHP Classes

duplicate mails

Recommend this page to a friend!

      Nomad MIME Mail  >  All threads  >  duplicate mails  >  (Un) Subscribe thread alerts  
Subject:duplicate mails
Summary:Receiving every (test) mail twice, version 1.5
Messages:2
Author:Paul Moers
Date:2007-11-12 12:22:12
Update:2007-11-21 23:11:52
 

  1. duplicate mails   Reply   Report abuse  
Picture of Paul Moers Paul Moers - 2007-11-12 12:22:12
Hi,

first off all, thanks for the great mailer class.

Second, I believe I have found a bug. The problem I'm having is that I receive every (test) mail twice. I found out that this is because of the 'to' record in the headers. So braking the code that adds it to the headers does the trick.

if (!empty($this->mail_to)){ // FixBug: http://www.developarts.com/ version_14_de_nomad_mime_mail#comment-294
$this->mail_header .= "To: " . $this->mail_to . BR;
}

(I'm using Thunderbird as mail client.)

Paul
saulmade.nl

  2. Re: duplicate mails   Reply   Report abuse  
Picture of Alejandro García González Alejandro García González - 2007-11-21 23:11:52 - In reply to message 1 from Paul Moers
Hi Paul.

You try to send via SMTP or whitout it?

Tnx for you support