PHP mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Elivs
Forum Newbie
Posts: 1
Joined: Wed Jul 22, 2009 7:22 am

PHP mail

Post by Elivs »

Hi all,

I realised that I dont have to google everytime I have a problem with my PHP.

Anyway, the problem I am having is this:

I am sending html mails encoded on PHP to multiple recipients(approximately 50). I copy the email addresses from a word document containing 500 or so email addresses. So, the problem is; how do I know which ones received the mail?
As in I need a confirmation that this number has received while the message could not be sent to so and so, like any other mail client does when u send mail to unexisting email address.
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: PHP mail

Post by omniuni »

The error mails are not provided by your client, rather, by the outgoing mail server (SMTP) which sends mails back to the sender if it fails. Check your servers mail logs to see if there are any returned messages, or make sure that your "from" and "reply-to" is set correctly in your mails, so you can see any errors that come back to you.

Good Luck.
Post Reply