 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
markf
Joined: 02 Oct 2006 Posts: 2
|
Posted: Mon Oct 02, 2006 11:38 pm Post subject: Mail Mime sends 4 emails, but why? |
|
|
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 |
|
 |
Indyana
Joined: 05 Dec 2006 Posts: 2
|
Posted: Tue Dec 19, 2006 4:37 pm Post subject: |
|
|
| 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 |
|
 |
markf
Joined: 02 Oct 2006 Posts: 2
|
Posted: Tue Dec 19, 2006 5:51 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|