473,765 Members | 2,057 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 3807
>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
2446
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 would like to understand what is going on here - in the mail header, i did set replyto, x-sender...
3
1913
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
1907
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 running the aspx pages with id=100, id=200,
3
5899
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 email address, but that would stop the recipient being able to reply to the friend sending the...
2
4558
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 following code to send the mail. <?php ini_set("include_path",...
1
2096
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
2433
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 localhost as the SMTP server.
5
2742
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.0.0 rc3 http://phpmailer.sourceforge.net which worked fine until we had some connection loss. I'm at...
2
5895
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 $from = "vasilis@emile.com"; $mail->From = $from;
0
9568
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10164
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7379
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.