Multiple messages received for one email sent?

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
student101
Forum Newbie
Posts: 20
Joined: Sun Sep 21, 2008 4:04 pm

Multiple messages received for one email sent?

Post by student101 »

Which side should I be looking at?
The host that hosts my email account or my script that sends out 6 emails even though one email address is listed?

Cheers
SteveC
Forum Commoner
Posts: 44
Joined: Thu Dec 04, 2008 2:39 pm
Location: Lansing, MI

Re: Multiple messages received for one email sent?

Post by SteveC »

You should be looking at both sides and trying to determine which is the problem.

Try writing a basic script to send a single email to yourself with no other PHP code there to possibly cause side effects. If the same thing happens - it's probably your host's SMTP service screwing up.

It could also be your own email service, have you tried sending an email to a different provider?
student101
Forum Newbie
Posts: 20
Joined: Sun Sep 21, 2008 4:04 pm

Re: Multiple messages received for one email sent?

Post by student101 »

Cool did that;
I managed to fix the problem...
When I queried the db it had 6 records almost every time, but just to add... some hosts do send more than one mail due to you having more than one email address with them (odd)

Cheers
Post Reply