473,387 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

phpmailer - is it possible to have replies to one address, bouncebacks to another?

Hi There,

I have developed a php application for a client that uses the excellent
class.phpmailer.php.

However, the client has requested that when they get back bounce back emails
from people in their database who no longer have the same address. They want
these emails to bounce back to a different address?

Is it possible to set this up and if so how would I do it?

E.g.

A bulk email is sent out to many people.
If email bounce backs are received, they are sent to a particicular email
address.
If the people reply to the email, this is sent to another email address.

Is the above possible and if so how?

Kind regards

Dave
Oct 21 '05 #1
2 3782
>I have developed a php application for a client that uses the excellent
class.phpmailer.php.

However, the client has requested that when they get back bounce back emails
from people in their database who no longer have the same address. They want
these emails to bounce back to a different address?

Is it possible to set this up and if so how would I do it?


Some mail transports honor the "Errors-To:" header for bounces.
Many mail clients honor the "Reply-To:" header for responses, and
for those that don't, you could put the same address in the From:
header if the transport you are sending mail through lets you
fake addresses in this way.

This may not work 100%. Note that it's not just *YOUR* mail transport
that needs to honor "Errors-To:", it's all of them that your
badly-addressed mail might go through.

Gordon L. Burditt
Oct 21 '05 #2
"Gordon Burditt" <go****@hammy.burditt.org> wrote in message
news:11*************@corp.supernews.com...
Some mail transports honor the "Errors-To:" header for bounces.
Many mail clients honor the "Reply-To:" header for responses, and
for those that don't, you could put the same address in the From:
header if the transport you are sending mail through lets you
fake addresses in this way.

This may not work 100%. Note that it's not just *YOUR* mail transport
that needs to honor "Errors-To:", it's all of them that your
badly-addressed mail might go through.


So it sounds like the "Errors-to" is not something I can rely on (Also the
php mailer class does not seem to support this). In which case this leaves
me thinking the following.

I could make the "from" email address be the one where I would want the
technical problem (e.g. no email address) bounce backs. And then set the
"reply-To" to be the address which receivers of the email would reply to if
they were sending an email back.
I think this would work but would leave the email address as if it was
received from the email address set to receive bounce backs (could cause
confusion with customers).

Is there any other way of getting around this or is my above mentioned
method the best?

Kind regards

Dave
Oct 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Daniel Loose | last post by:
Hi, a friend was so kind to host my php scripts. but when they use phpmailer (or other PHP mail facilities) to email e.g. to an invalid address, the returning error message appears in *my...
3
by: Kevin | last post by:
Does anyone know if it is possible to configure PHPMailer so that instead of actually sending the message it writes its contents out to a file (i.e., including all the message headers, boundaries,...
8
by: Daniel | last post by:
Hi, Does anyone know if it is possible to put an aspx page inside of another? OR run an aspx page and capture the output as a string and then write this out to a page.... So for example say...
3
by: thehuby | last post by:
Does anyone know how I can send an email using PHPMailer (or similar) and have it send 'on behalf of' someone. This is for a tell a friend feature on a website (I am trying to mimic the way that...
2
by: prasenjit2007 | last post by:
Hello, can u help me sending Email with attachments using the Class phpMailer. On the website I have a link to an html form in which I input the parameters with the names 1)from(textbox name)...
1
by: abasel | last post by:
I've been looking everywhere for a forum dedicated to this script but so far could only find a mailing list. I Have two questions: 1) What doe the following mean? Warning: fsockopen() :...
9
by: Lucanos | last post by:
Hi All, I am currently using PHPMailer to send out a set of emails on the execution of a PHP Script (obviously). My problem is that the PHPMailer action is returning a "true" result each time...
5
by: Gilles Ganault | last post by:
Hello To handle an occasionnal flaky ADSL connection, I updated the database that handles incoming calls to have a column that is set to NULL, and then updated to either Y or N depending on...
2
mikek12004
by: mikek12004 | last post by:
Before posting here I google it and saw ablut 30 pages for a solution so I pretty much excluded the obvious things. The code is <?php //now to send the mails to seller...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.