kenrbnsn Posted August 1, 2006 Share Posted August 1, 2006 That depends. If the machine the webserver is running on is also the mailserver, then localhost makes sense. Talk to the administrators of the webserver about your problem.Ken Quote Link to comment Share on other sites More sharing options...
ronverdonk Posted August 1, 2006 Share Posted August 1, 2006 If applicable, just change your settings:[code] SMTP = your mailserversmtp_port = 25sendmail_from = youruserid@yourmailserver[/code]Ronald ;D Quote Link to comment Share on other sites More sharing options...
TerryR Posted August 4, 2006 Author Share Posted August 4, 2006 :) at last!Thanks to all for your help. I did what I should have done to start with, and went to the FAQs on my webserver host, where it says...Use the PHP mail function and set the mail from using the following line of code - replacing email@mydomain with the correct domain name.ini_set("sendmail_from", " email@mydomain ");...and all is now OK. Quote Link to comment 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.