Return-Path
-
Hi, I’ve got a problem with undeliverable mails.
The notice that a mail is undeliverable is sent to the adminstrator mail address of my webspace. As I’m hosting several blogs, I want them to be delivered to the administrator of each blog seperately. Therfore I’d need to adjust the return-path.
I’ve tried a small fix-plugin someone posted in a newsgroup which adds an action into the phpmailer_init – it sets the sender header attribute to be the same as the from-content:
function __construct() { add_action( 'phpmailer_init', array( $this, 'fix' ) ); } function fix( $phpmailer ) { $phpmailer->Sender = $phpmailer->From; }Works pretty fine, but breaks the ContactForm7 on certain browser/machine-constellations and I don’t know why – people using those combinations cannot send messages via the form anymore….
So I’d like to have this functionality in Easymail only. Where do I have to add code to ?
Regards,
Georg
The topic ‘Return-Path’ is closed to new replies.