PHP mailer class is a pretty famous 1 so i believe many of u have used or atleast heard abt it..
The problem i m facing is when i try using it with my application on my local system it works fine but as soon as i upload it on my server, it still works fine except that it sends each mail twice.
I wanna know if its a common issue or there is somthing wrong wid my config??

Recommended Answers

All 2 Replies

If you're setting the 'To' and/or 'Recipient' header multiple times, the SMTP server could interpret that as separate e-mail address, thus you'll receive the multiple e-mails.

Maybe check your SMTP server's configuration.

thanks for ur suggestion... will check it and let u know

If you're setting the 'To' and/or 'Recipient' header multiple times, the SMTP server could interpret that as separate e-mail address, thus you'll receive the multiple e-mails.

Maybe check your SMTP server's configuration.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.