Solved

Get email status from the server

Posted on 2006-11-29
5
195 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_
Comment Utility
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 500 total points
Comment Utility
<< 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
Comment Utility
Thx, i will try that.
Sorry for taking to much time to answer..
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now