PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, August 31, 2022

[FIXED] how to set a bounce back email address on PHP Pear Mail Queue?

 August 31, 2022     pear, php     No comments   

Issue

I'm using PHP Pear Mail Queue to send queued emails, but I can't get the bounce back (undelivered) emails to work. I'm using Mail_mime to create headers, looks something like that:

        $hdrs = array(
            "From"        => EMAIL_FROM_ADDRESS, 
            "Reply-To"    => EMAIL_FROM_ADDRESS, 
            "Return-Path" => EMAIL_FROM_ADDRESS,
            "To"          => $recipient, 
            "Subject"     => $this->NewsletterTitle
        );

Note, that even though Return-Path is defined, I don't get bounce backs to that email address. Is there a solution to this problem?


Solution

Found a problem - it was Pear issue afterall, all I did is update it, problem solved.



Answered By - Caballero
Answer Checked By - Katrina (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing