pplNet Posted January 8, 2009 Share Posted January 8, 2009 Hi all, I've been having this problem for sometimes after the hosting company migrate the server from linux to win server. My mail function now doesn't work at all. So, is there any alternative way to send out email using php code instead of using mail function? Quote Link to comment https://forums.phpfreaks.com/topic/139942-alternative-mail-function/ Share on other sites More sharing options...
btherl Posted January 8, 2009 Share Posted January 8, 2009 The first step should be to ask your hosting company about it. Assuming that doesn't help (and it probably won't), you can try these: PEAR::Mail PEAR::Net_SMTP (more low level, try PEAR::Mail first) Quote Link to comment https://forums.phpfreaks.com/topic/139942-alternative-mail-function/#findComment-732182 Share on other sites More sharing options...
pplNet Posted January 8, 2009 Author Share Posted January 8, 2009 They just giving me an reason that mail function is disabled due to spamming issue... I guess this is an stupid answer. Anyhow, I need to find out the alternative way to send out mail using php code. As I needed for such as forgot password, auto send an replaced password or even new registered member confirmation email. By the way, how to use it? PEAR::Mail PEAR::Net_SMTP (more low level, try PEAR::Mail first) Quote Link to comment https://forums.phpfreaks.com/topic/139942-alternative-mail-function/#findComment-732567 Share on other sites More sharing options...
JonnoTheDev Posted January 8, 2009 Share Posted January 8, 2009 Move webhost. They sound poor. Quote Link to comment https://forums.phpfreaks.com/topic/139942-alternative-mail-function/#findComment-732589 Share on other sites More sharing options...
premiso Posted January 8, 2009 Share Posted January 8, 2009 They just giving me an reason that mail function is disabled due to spamming issue... I guess this is an stupid answer. Anyhow, I need to find out the alternative way to send out mail using php code. As I needed for such as forgot password, auto send an replaced password or even new registered member confirmation email. By the way, how to use it? PEAR::Mail PEAR::Net_SMTP (more low level, try PEAR::Mail first) Or a simpler approach is PEAR is not available is phpMailer, check it out on google. Although, to send mail with that without using mail you would need an SMTP server to send mail from, so yea. Quote Link to comment https://forums.phpfreaks.com/topic/139942-alternative-mail-function/#findComment-732592 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.