Support Forum

Subscription Plugin

54 Answers

New Answer

JR Jon Roberts
Jon Roberts
Member

Wait one second. So what you’re saying is that if we have the DIGEST and FORCE DIGEST checked, the users will not get a notification everytime a reply is added to a topic they subscribed? Why isn’t this covered in the help section?

FIY: now they are unchecked, so users should in theory now get an email when any reply to a topic they are subscribed to is added. But still no emails and we are using the HGK SMTP and it’s test emails (from the plugin) work. 

Could you shed some insight on where i can look for the hook that triggers the sending of the emails when a reply is added?

MP Mr Papa
Mr Papa
Member

Sorry if it wasnt clear, but I guess it would also beg the question, what did you think they did?  they are not checked by default when you install the subscriptions plugin…  and from the online help

If you are using digest emails for subscriptions, you can also force all users to get digests. By defaul, the user can choose to receive a digest or continue receiving an email for each subscription.
On a busy server this can be a lot of emails.  If you force digest, all users will receive digest emails and will not see an option to get individual emails.

so it does talk about it…

but back to the real question of your post…

With force digest turned off, when a new post is made, simple press fires the new post hook… the subscriptions hooks into it with function sp_subscriptions_do_post_notification()…

so start debugging with some output (and die) in that routine in the plugin in file sp-subscriptions-components.php

you will see that function call another sp_send_email() which in turn will call wp to send the emails…

 

 

MP Mr Papa
Mr Papa
Member

btw.. if you track anything down, please let us know… if you were to provide ftp credentials, we could add some debug code and at least verify that the wp email function was being called..

JR Jon Roberts
Jon Roberts
Member

Mr. Papa, ftp creds sent by PM. Any help would be appreciated. I would rather not try to fix core stuff and ruin them with upgrading.

MP Mr Papa
Mr Papa
Member

can try to take a look.. did you copy both myself and yellow swordfish? and link back to this topic so we know whats its in regards to…

MP Mr Papa
Mr Papa
Member

Okay,used the ftp credentials (thanks!) and verified that everything is happening correctly on the simple press end…

On a new post, the subscription email is properly generated and handed off to WP for sending…  I did not debug the wp email side of things…

But my next step would be consulting my email logs on the server and see if they are attempted to be sent…

not sure what I else we can do without more data as to where its failing upstream on your server…

YS Yellow Swordfish
Yellow Swordfish
Member

… and I received a new post subscription email this morning. Looked most odd as the text was surrounded by what looked like WishList short codes…

JR Jon Roberts
Jon Roberts
Member

not sure what you did, or what i did, but they now work. we receive new reply emails. thanks

YS Yellow Swordfish
Yellow Swordfish
Member

We didn’t do anything. Only confirmed that the emails were being sent to the wp_mail() function.

MP Mr Papa
Mr Papa
Member

It might have been when you disabled the digest stuff….  but as Andy said, I didnt change anything just verified operation…

good news, none the less…