Fix for not sending mails
-
Hi,
after 2 days of echo debugging it comes to one single line:
File: class-s2-admin.phppublic function s2_meta_handlerLine 543;
$subscribe_meta_field = ! empty( $_POST['s2_meta_field'] ) ? sanitize_text_field( $_POST['s2_meta_field'] ) : 'no';change no to yes
$subscribe_meta_field = ! empty( $_POST['s2_meta_field'] ) ? sanitize_text_field( $_POST['s2_meta_field'] ) : 'yes';In 10.39 if you edit a post, the checkbox
“Check here to disable sending of an email notification for this post/page ” is interpeted in the wrong way. It’ll turn on every time you save your post.So no mail is sent when plublishing a post.
This is also the reason why when publishing freshly new posts sending was working: Because the checkbox was not falsely set before.
Change the line as described and it will work again.
Hope this helpbr
The topic ‘Fix for not sending mails’ is closed to new replies.