Page 1 of 1

email's after purchase not being sent out.

PostPosted: May 11th, 2011, 12:32 am
by sqwheresGuy
I've set up a site using wordpress 3.1.2 and s2member 3.5.7. Everything is working great except that when someone signs up for membership they don't receive an email from my site. Is that something that should happen automatically or do I need to configure wordpress to send email's. I'm also wondering if there is an easy way to test the emails that are sent out.

Thanks all.

Re: email's after purchase not being sent out.

PostPosted: May 11th, 2011, 1:15 am
by Cristián Lávaque
Hi. :)

Could you please post the IPN log entries that correspond to those purchases that didn't have an email sent? (xxxx out any private information.)

WP Admin -> s2Member -> [gateway] Options -> Account Details -> Enable Logging Routines
/wp-content/plugins/s2member-logs/

Re: email's after purchase not being sent out.

PostPosted: May 11th, 2011, 12:53 pm
by sqwheresGuy
Thanks for responding. There was nothing in the folder except a .htaccess file. I had Enable Logging Routines turned off when the actual transaction took place so maybe no logs were recorded. Is there any way to test it without doing a transaction?

Re: email's after purchase not being sent out.

PostPosted: May 11th, 2011, 1:31 pm
by Cristián Lávaque
I see. No, you need the transaction to happen to have it logged and see what actually happens. Now you have logging enabled, so next time the problem happens, post here the log entry please. :)

Re: email's after purchase not being sent out.

PostPosted: May 11th, 2011, 7:09 pm
by sqwheresGuy
ok, I have an ipn log but I'm not sure what information I should be worried about showing. Just to clarify, emails are being sent from paypal but not from my site telling them to register if they haven't already. Also, this problem happens every time and not just once in a while.
One part of the log says:
's2member_log' =>
array (

5 => 'Signup Confirmation Email sent to: "xxxxxxxxx" <xxxxxxxxxxxxxx>.',

But the buyer didn't receive it and it is not in her junk box.
Is there something specific I can look for?

Re: email's after purchase not being sent out.

PostPosted: May 11th, 2011, 8:02 pm
by sqwheresGuy
I created a fake user account and got it to send me a new password. I got the message:
"500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed."

Re: email's after purchase not being sent out.

PostPosted: May 11th, 2011, 9:23 pm
by Cristián Lávaque
sqwheresGuy wrote:5 => 'Signup Confirmation Email sent to: "xxxxxxxxx" <xxxxxxxxxxxxxx>.',
But the buyer didn't receive it and it is not in her junk box.


I see, then emails are sent by s2Member, the problem is somewhere after that. Does your mail() function work properly?

Check this, maybe it's related to what's happening to you? viewtopic.php?f=4&p=13733#p13733

Re: email's after purchase not being sent out.

PostPosted: May 11th, 2011, 9:25 pm
by Cristián Lávaque
sqwheresGuy wrote:I created a fake user account and got it to send me a new password. I got the message:
"500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed."


Could you explain the steps you took that gave you that error? Did you create the user with the registration form or from the admin dashboard, how did you get it to send you the password, with the lost password form?

Re: email's after purchase not being sent out.

PostPosted: May 11th, 2011, 9:40 pm
by sqwheresGuy
Ya, I used the dashboard to create the account and then used the lost password form.

I just got off of the phone with godaddy and apparently hotmail blocked emails from the part of the server that I was on. They are working on that now so I'm hoping that will resolve the email problem.

They said though that the 500 internal server error had to do with some missing php in s2member and that I should try to reinstall it. I'll wait and see how it goes with the email problem first though. I've been getting my family to sign up for accounts just to test the process and they all have hotmail accounts.

Re: email's after purchase not being sent out.

PostPosted: May 11th, 2011, 10:02 pm
by Cristián Lávaque
Cool. Thanks for the update. Hopefully that'll solve the emails problem.

If you reinstall s2Member, this may help viewtopic.php?f=36&t=247

Let me know how it goes. :)

Re: email's after purchase not being sent out.

PostPosted: May 13th, 2011, 2:15 pm
by sqwheresGuy
The email is working, even though it ends up in their junk mail.

I updated s2member to a newer version but the lost pasword process is still not working. It asks me for the user name or email and when I click Get New Password I get the 500... error. Could it just be missing a php file?

Re: email's after purchase not being sent out.

PostPosted: May 13th, 2011, 2:21 pm
by sqwheresGuy
Should I start a new link for the new problem?

Re: email's after purchase not being sent out.

PostPosted: May 13th, 2011, 8:06 pm
by Cristián Lávaque
I'm glad you fixed the email problem. :)

About the other issue, maybe a plugin conflict...

Could you try deactivating the other plugins and see if that fixes it? If you do them one by one you'll spot which one is conflicting.