Hi Rolf.
The return path headers can be changed by going to ‘Newsletters’ -> ‘Settings’ -> ‘Email Settings’ and setting the ‘Reply to’ and Reply name’ to your preferred name and address.
I hope this helps?
hi and thanks for your reply.
in my (free) version 4.0.14 the settings are located in the main section and the settings of the reply-to-stuff is set to the preferred name and address.
nevertheless the mails were send with a header parameter Return-Rath: witch is (maybe automatically) set to the wrong admin-alias.
so I’m still looking for a solution to set the Return-Path in the mail header – programmatically or somewhere in the GUI.
thank you again,
rolf
Hi Rolf.
Sorry for only getting back to you now.
Please go to sola-newsletters/modules/module_sending.php and scroll down to line 309 – you’ll find a line of code that looks like this:
$headers[] = 'From: '.$sent_from_name.' <'.$sent_from.'>';
To my knowledge this is the only area where we change the return path when sending mail from wp_mail()
Does this help at all?
hi,
nope, that doesn’t fixed it. sent_from was correctly set and in the mail header.
I digged into it with our mail-admin and found somewhere this plugin, which solved the problem: https://www.kinamo.be/en/support/faq/correctly-setting-return-path-for-wordpress-mail-functionality
thank you for your patience,
rolf
Hi Rolf.
I see what you mean now. So glad to hear you came right with this though.
My apologies for any inconvenience caused.