Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Subscription email notification not working
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 7:24 pm

Steve I have done what you suggested and put a die debug message in sp-subscriptions-components.php and the script is completing the email routine.

Does wordpress keep a log of emails sent anywhere? Or is there a plug-in?

I could use some help with this one now I'm afraid. Do you fancy having a dig around at some point?

Conrad

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 7:29 pm

so at the bottom of the routine is a line like this:

                    $email_status = sp_send_email($email, __('Forum Post', 'sp-subs').': '.substr($topicname, 0, 30).'...'.' ['.get_option('blogname').']', $msg);

might be different as I have been rewriting this as part of 5.1..

lets see what the return value is....  so right after it, add

ashow($email_status);

die();

and see what is returned...

if that works, then we can go into sp_send_email() and see whats up...

Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 7:55 pm

Steve

Array 
( 
[0] => 1
[1] => Email notification sent 
)

is returned.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 8:23 pm

well, that says that wp returned that it sent the email...

so can you look on your server control panel (ie whm or cpanel) and see if the email is stuck?

but not sure what to do since wp says it sent the email...

Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 8:33 pm

I can see some mail folders for the relevant email address using file manager but they appear to mimic my IMAP sent folder. I do not see anything that has been sent any later than the last message I sent using IMAP. In other words nothing sent from WP is showing in there.

We know that the PM notifications are working so I guess I can try that and see if I can see anything.

Conrad

Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 8:41 pm

No idea where they go Steve. The HGK_SMTP Options are working fine because I can send a test mail using it.

Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 8:56 pm

Steve I found an email logging program for WP and sent one test post from HGK and a PM both of which arrived np. I also posted into a subscribed topic and there appears to be duplicate mails being sent. The emails in this case are not being sent.

Conrad

PS next post has correct screen grab. I can't remove the other attachment.

Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 9:05 pm

email_log2.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 16, 2012 - 8:52 am

Are the emails correctly formed?
Are you simply saying they are not being sent once they arrive at your mail server? Maybe it would be worth talking to your host if that is the case...?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 16, 2012 - 9:41 am

That is exactly what I decided to do Andy. They are looking at it as we speak.

I have a feeling that for some reason the server is just not accepting the email formatting as it is sent from WP. However I am a bit concerned that there appears to be duplicate posts from the subscribe plug-in. Any ideas what that might be?

Conrad

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625