nakamah
Forum Replies Created
-
Thanks for your support.
Other email related plug-ins and programs including the one I wrote on the server is working.
It seems Subscribe2’s subscribe/unsubscribe widget and update notifications are not working.When I use subscribe/unsubscribe widget, it spits out an error message: “Sorry, there seems to be an error on the server. Please try again later.”
Sending notifications doesn’t give any message, and leaves no error on the error_log either.
Then it started sending mails when I did like this:up there
If this helps.
nilrog,
In my case too, I could send mails manually, and my mail server’s domain name is my hosting server’s, not my own.
I use Contactform 7 plug-in and it is sending mails without any problem.
I wondoer if subscribe2 ignores originating email address set by general settings of wordpress, and sets it’s host name in the mail header when it sends update notifications, then wordpress knocks off the mails.
Hi, guys.
If you haven’t tried this yet, it’s worth doing.
Since WordPress 4.2 or so, it started checking from-address strictly.
If the mail domain doesn’t match with the site domain, it wouldn’t send email. The problem is that there is no way to correct it from Subscribe2’s setting.And I could solve it by inserting the following code in functions.php:
function custom_reply_to($header) { $header['From'] = 'mail-mg@your-site-domain-name'; $header['Reply-To'] = 'mail-mg@your-site-domain-name'; return $header; } add_filter('s2_email_headers', 'custom_reply_to');