473,574 Members | 2,317 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3792
>I have developed a php application for a client that uses the excellent
class.phpmaile r.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.b urditt.org> wrote in message
news:11******** *****@corp.supe rnews.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
2434
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 friend's email inbox* (recipient - or sender? - is "wwwrun" of my friend's machine). I guess you understand which problem I mean. To fix the problem, I...
3
1902
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, etc.)? Thanks, Kevin
8
1899
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 you have a page that takes an id number as a query string and displays different things based on that id number. If you were able to loop through...
3
5873
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 the BBC website does it as I believe this will help with the more strict spam filters). I know I could just send the email directly from our sites...
2
4544
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) 2)To 3) Subject 4) Message5) File input(name abc) - to be sent as an attachment. This form calls the Class PhpMailer through another form with the...
1
2085
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() : php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/intern/public_html/demo/lib/phpmailer/class.smtp.php on line 105
9
2422
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 it is executed, but not every email generated by this action is actually being sent. My account is hosted on HostMonster, and is pointed at the...
5
2732
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 whether a PHP CLI script was able to send a notification e-mail to support. To send an e-mail through out ISP's SMTP server, I'm using PHPMailer...
2
5869
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 require("class.phpmailer.php"); $mail = new PHPMailer(); //$mail->IsSMTP(); // telling the class to use SMTP //$mail->Host = "smtp.example.com"; // SMTP server...
0
7797
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7715
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8041
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8225
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6440
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5296
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3739
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3748
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1053
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.