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
- PHPmailer with different email address for authentication and setfrom
- PHPMailer SMTP Error: Could not connect to SMTP host / using smtp.gmail.com server
- Why my PHPmailer Cant Send to Code to Email Provided
- How to send email with phpMailer and fetch API
- Send PDF file as attachment using php mailer
- Sendgrid PHP / PHPMailer - Attachment not adding to email
- What is the SIMPLEST way to send file input via AJAX & PHPMailer?
- Erorr 500 when submitting form after AWS Elastic Beanstalk deployment
- PHPMailer Sendgrid PHP - Attachment of DomPDF HTML Render
- How can i install a mail client in ubuntu?
- PHPMailer sending email twice
- phpmailer - email sent but Gmail not receive
- phpmailer form submit successfully but also returns an error
- PHPmailer is sending mail twice
- Email delivery (or Mailbox) testing without sending emails in PHP?
Related Questions in EMAIL-DELIVERY
- Email delivery (or Mailbox) testing without sending emails in PHP?
- I'm using Microsoft Graph API to send email. But how could I know that email was delivered/opened/bounced?
- Is it bad for deliverability to have send-only email addresses?
- (Mail Delivery Subsystem) check if the receiver email is able to receive or not?
- WordPress: I need to send users a notification when their role is changed, my code snippet doesn't work
- phpmailer forces Mail delivery failed to reply-to and not from
- Send en email programmatically but an response should come to a user
- Can anyone understand or read Microsoft anti-spam email headers?
- Smtp delivery receipt by using gmail smtp server
- Mailjet: alert on undelivered recipients
- Mails generated in PHP going to Spam (in Gmail only)
- How to wp_mail sends 50 email every hour?
- Yii2 Mandrill email soft verification
- Postfix - Rate limit for all domains
- Sent Mail checking if it is delivered and open to recipient in Laravel
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 # Hahtags
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.