i'm working on a project and a task was assigned to me to check if the email was sent , delivered and opened , actually i don't know how to check if it was delivered or not, any suggestions .
Asked
Active
Viewed 1,366 times
-8
-
It is not the "role" of PHP to know if an email has been delivered or not, PHP can only know and also with marginal accuracy whether the remote SMTP server accepted the email or not – Noam Rathaus Nov 24 '13 at 15:07
-
i used SMTP and telnet commands inside php class and all sent mails returned with 250 accepted without any delivery even the mail address book was false . – uzaky Nov 24 '13 at 15:12
-
If both parties are using MS Outlook then you might be able to plugin to the COM interface (I think its COM) to find the necessary status flags otherwise forget it. – Nov 24 '13 at 15:13
-
In Microsoft Outlook / Exchange groups mail messages can be sent with a "return receipt". The recipient must use the Outlook client to open the message so a receipt can be sent. As far as the rest of the world, it depends on the email system that is used, I don't think you will find a general solution. many, many, many mail eco-systems have decided that return receipts are a waste of time, ridiculously unreliable, and unportable. – Andyz Smith Nov 24 '13 at 15:13
2 Answers
0
I think it is impossible.
Think it as a real life example.
If you send a letter to someone. You also don't know if he will receives it. Unless he calls you and says "hey, i've your letter"
And also, he has to call you, if he has read the letter which sounds strange, don't you think?
It would be all possible if you've a own message service thing, or application like e.g. facebook. They can store the fact that you've opened the "mail" but than it isn't actually a mail but rather a messege to another user. And doesn't use email adresses nor emails

Dieter
- 2,499
- 1
- 23
- 41
-
Yeah, but even the US Postal Service offers Return Receipt. The postal carrier must hand deliver the message, and get the return receipt. It's just a ridiculous way of doing business. – Andyz Smith Nov 24 '13 at 15:17
-
i think you are right , but i wondered from Hubspot system that give a fully report of the sent , delivered , opened and the mail was marked as a spam ! , or it has a high probability of error. – uzaky Nov 24 '13 at 15:18
-
Well, SMTP uses TCP and what does TCP-protocol? -- E.g. your mail is split in 3 packages - than X sends the first package to Y -- Y sends an Acknowledge back to X -- X sends the second package to Y -- Y didn't received the packe, afte x seconds, X sends the package again -- Y receives and sends an Ack Back -- X send a new package to Y and Y receives and sends an ack -- Thus actually SMTP will promise you that the sender receives the -- mail but there is no such thing that he will open it – Dieter Nov 24 '13 at 15:23
-