I'm using phpmailer on my ERP and the from email is a noreply@ and the reply-to is my client/company email. Sometimes I'm receiving "Mail delivery failed: returning message to sender" that is normal but I'm receiving those to my noreply@ and not the client email. How can I force the phpmailer to send the "Mail delivery failed" to reply-to email? Thank you for your help.
phpmailer forces Mail delivery failed to reply-to and not from
149 Views Asked by Daniela Zavallone At
1
There are 1 best solutions below
Related Questions in PHPMAILER
- Why is my phpmailer unable to send multiple emails?
- PHPMailer send mail with array ( $_POST['email'] )
- Could Not Instantiate Mail Function - PHPMailer - With Attachments - Only Google Chrome
- add smtp to php mail function using phpmailer
- Problems installing PHPMailer on Windows 2008 server r2 configured w/ iss 7.0
- What are the PHPMailer requirement for sending mail and receiving mail in IIS 7
- PHP mail() function & PHMailer doubts
- Phpmailer not in Hotmail Inbox or Spam?
- SMTP ports - SSL vs non-SSL
- PHPmailer stuck on mail.php AND being marked as spam issue
- Add self signed certificate using PHPMailer on Gmail account
- Mailer function does not work for gmail
- Mailgun, Mandrill and Ses Driver, SMTP and phpmailer, Which one to use in Laravel 5.1?
- Hours wasted trying to get AWS SES / PHPMailer to work - anyone done it?
- PHPMailer error - HTML email error
Related Questions in EMAIL-DELIVERY
- I'm using Microsoft Graph API to send email. But how could I know that email was delivered/opened/bounced?
- Mailjet: alert on undelivered recipients
- (Mail Delivery Subsystem) check if the receiver email is able to receive or not?
- Smtp delivery receipt by using gmail smtp server
- Can anyone understand or read Microsoft anti-spam email headers?
- WordPress: I need to send users a notification when their role is changed, my code snippet doesn't work
- Send en email programmatically but an response should come to a user
- Sendgrid email always being sent to gmail spam
- Is it bad for deliverability to have send-only email addresses?
- What is the best method for avoiding email blacklists in a VPS that has several websites?
- phpmailer forces Mail delivery failed to reply-to and not from
- emails are coming with 20 min delay bluehost
- Sent Mail checking if it is delivered and open to recipient in Laravel
- Postfix - Rate limit for all domains
- Yii2 Mandrill email soft verification
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Bounces go to the
return-path, not thereply-toaddress, because they are bounces, not replies.It's not PHPMailer that's sending your bounces there, it's the receiver, and they are acting correctly.
You can set the return path indirectly using the
Senderproperty which is used to set the envelope sender, which the receiver converts into a return-path before attempting delivery. Do not be tempted to set areturn-pathheader yourself; it's the receiver's job.Beware though – this address is what SPF applies to, so you need to be very sure that your SPF records are set up correctly. For reliable bounce handling, I'd recommend making use of VERP addressing here too.