PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Mail Mime sends 4 emails, but why?

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Mail
View previous topic :: View next topic  
Author Message
markf



Joined: 02 Oct 2006
Posts: 2

PostPosted: Mon Oct 02, 2006 11:38 pm    Post subject: Mail Mime sends 4 emails, but why? Reply with quote

Hi there,

I'm using Pear Mail Mime and every time I call $mail->send, it sends 4 e-mails to the recipient. Note that I have confirmed without a doubt that there is only one recipient name being passed in and that the send method is only being called once.

Has anyone seen anything like this before or is there anything else that I should check?

I'm out of ideas and would really appreciate any help whatsoever.

Many thanks

Mark
Back to top
View user's profile Send private message
Indyana



Joined: 05 Dec 2006
Posts: 2

PostPosted: Tue Dec 19, 2006 4:37 pm    Post subject: Reply with quote

Same problem for me, but mails are only send twice. I noticed that if there is no record in mail_queue before ->put + ->send() methods, mail is not send. If i'm calling again ->put + ->send(), the first mail is send twice, the second mail still remian in the db table... any idea?
Back to top
View user's profile Send private message
markf



Joined: 02 Oct 2006
Posts: 2

PostPosted: Tue Dec 19, 2006 5:51 pm    Post subject: Reply with quote

Thanks for replying Indyana.

The problem stopped happening to me after a while. I deduced that it wasn't my code but an issue with either

1) Mail server
2) PEAR install

I tested my code on a different server, different mail server, different PEAR install and it worked fine so it had to be one of the two above. I never did find out which it was but I'd be very interested to know if you do find out.

Good luck and keep me informed.

Cheers

Mark
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Mail All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software