unrelenting Posted August 24, 2008 Share Posted August 24, 2008 We just moved our site to a dedicated Linux server hosted by Godaddy. We are running Lighttpd. No matter what script I use to make sendmail work it never sends the mail. Any ideas on troubleshooting this? Link to comment https://forums.phpfreaks.com/topic/121096-sendmail-function-not-working/ Share on other sites More sharing options...
Ashoar Posted August 24, 2008 Share Posted August 24, 2008 Are you sure your host allows SMTP? Link to comment https://forums.phpfreaks.com/topic/121096-sendmail-function-not-working/#findComment-624270 Share on other sites More sharing options...
unrelenting Posted August 24, 2008 Author Share Posted August 24, 2008 Are you sure your host allows SMTP? We have email installed and email addresses setup. Link to comment https://forums.phpfreaks.com/topic/121096-sendmail-function-not-working/#findComment-624276 Share on other sites More sharing options...
unrelenting Posted August 24, 2008 Author Share Posted August 24, 2008 Are you sure your host allows SMTP? We have email installed and email addresses setup. I just tested it sending email via smtp and it worked properly. Link to comment https://forums.phpfreaks.com/topic/121096-sendmail-function-not-working/#findComment-624280 Share on other sites More sharing options...
peuge Posted August 24, 2008 Share Posted August 24, 2008 Try ini_set("SMTP","your.smtp.setting"); before your mail(). It helped me out. Even though in php.ini it was set it didnt seem to want to send mail? Link to comment https://forums.phpfreaks.com/topic/121096-sendmail-function-not-working/#findComment-624304 Share on other sites More sharing options...
unrelenting Posted August 24, 2008 Author Share Posted August 24, 2008 Try ini_set("SMTP","your.smtp.setting"); before your mail(). It helped me out. Even though in php.ini it was set it didnt seem to want to send mail? Isn't that just a Windows setting? Link to comment https://forums.phpfreaks.com/topic/121096-sendmail-function-not-working/#findComment-624307 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.