PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

How to get s2member to use smtp mail settings?

s2Member Plugin. A Membership plugin for WordPress®.

How to get s2member to use smtp mail settings?

Postby AnthonySouls » October 30th, 2010, 5:00 am

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,
User avatar
AnthonySouls
Registered User
Registered User
 
Posts: 3
Joined: October 30, 2010

Re: How to get s2member to use smtp mail settings?

Postby Jason Caldwell » October 30th, 2010, 5:12 am

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.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: How to get s2member to use smtp mail settings?

Postby AnthonySouls » October 30th, 2010, 8:06 am

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,
User avatar
AnthonySouls
Registered User
Registered User
 
Posts: 3
Joined: October 30, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 4 guests

cron