Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Get email status from the server

Posted on 2006-11-29
5
Medium Priority
?
251 Views
Last Modified: 2007-02-05
Hello experts,

When i send an email in php i use this "mail($to, $subject, $Body, $headers)".
Is there a way to know if the email was well received in the destination server?

thx in advanced
0
Comment
Question by:justaphase
5 Comments
 

Expert Comment

by:Dutchy_
ID: 18038516
As far as I know this is not possible with PHP... The only thing I can think of is setting the From:/Reply-To: headers right to receive the returned emails on that address
0
 
LVL 11

Accepted Solution

by:
ch2 earned 2000 total points
ID: 18038621
<< Is there a way to know if the email was well received in the destination server?

Well, usually when a mail is not delivered the destination server sends a mail with information about the error.

If you want mail confirmation when user reads it just add this header.

$headers .= 'Disposition-Notification-To: "Myname" <mymail@mydomain.com>'


0
 
LVL 1

Author Comment

by:justaphase
ID: 18113999
Thx, i will try that.
Sorry for taking to much time to answer..
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question