Hi,
What do I need to include i my header, when I use the mail()-function, if the want an e-mail telling me, if the e-mail adresse I'm trying to send the mail to, doesn't exist?
Hope some can help, Kenneth
The fourth function of mail() includes extra headers. Put the following in this option:
From: my@email.com\r\nReply-To: my@email.com\r\nReturn-Path: my@email.com
Really, the Return-Path is what the email server will look for to send bounced messages, but I include all three just for good measure 🙂 Hope that helps.
Chris King