Page 1 of 1
How to get s2member to use smtp mail settings?
Posted:
October 30th, 2010, 5:00 am
by AnthonySouls
My free host doesn't allow sendmail it seems, and s2member doesn't seem to play well with word-press smtp plugins. Does anyone know how to fix this problem, or is it currently unfix-able? I am surprise no one asked this already.
Thanks,
Re: How to get s2member to use smtp mail settings?
Posted:
October 30th, 2010, 5:12 am
by Jason Caldwell
Thanks for reporting this important issue.
Yes, we are aware of this. The problem has to do with s2Member's use of PHP's mai() function instead of the WordPress® function wp_mail(). This will be updated to support SMTP configurations with the release of s2Member v3.3. @TODO/COPY :: wp_mail().
Until then, you could run a search/replace on all of s2Member's files.
Replacing instances of the mail() function, with wp_mail() instead.
Re: How to get s2member to use smtp mail settings?
Posted:
October 30th, 2010, 8:06 am
by AnthonySouls
Changed these files in functions folder under s2member: Search term: mail to wp_mail (matched whole word only):
auto-eots.inc
config-user-registration.inc
list-servers.inc
paypal-notify.inc
user-deletions.inc
Combined with using a smtp wordpress plug-in (wp-mail-smtp, is the one I'm using), I am able to use a Google mail account to send registrations notices, receive lost password, and unsure about PayPal's subscribe email: don't have a sandbox to test it.
If my registration and lost password works, does that mean my paypal would as well?
Well, I posted all that information for anyone who had the same problems as me, maybe it will help until the next version comes along.
Take care,