noobstar Posted December 16, 2006 Share Posted December 16, 2006 Hi everyone :)I know this is a completely stupid question but I am completey unsure on how to change either httpd, php or my.ini to input my own email, smtp host and port and to get it to work :( I personally never had to use mail which its strange to find out for myself lolI guess sometimes the simpliest of issues can be hard :SThank you for any replies :) Link to comment https://forums.phpfreaks.com/topic/30831-sending-emails/ Share on other sites More sharing options...
alpine Posted December 16, 2006 Share Posted December 16, 2006 This is in the wrong board (mods)run phpinfo() and see where your running php.ini is example: -----------------------------------------------------------------Configuration File (php.ini) Path | C:\wamp\Apache2\bin\php.ini-----------------------------------------------------------------Open the php.ini and find the [mail function] and uncomment/comment to suit your system and prefs (this is an example)-----------------------------------------------------------------[mail function]; For Win32 only.;SMTP = localhostSMTP = smtp.blah.net;smtp_port = 25; For Win32 only.sendmail_from = [email protected]; For Unix only. You may supply arguments as well (default: "sendmail -t -i").;sendmail_path =; Force the addition of the specified parameters to be passed as extra parameters; to the sendmail binary. These parameters will always replace the value of; the 5th parameter to mail(), even in safe mode.;mail.force_extra_paramaters =-----------------------------------------------------------------Should get it running Link to comment https://forums.phpfreaks.com/topic/30831-sending-emails/#findComment-142283 Share on other sites More sharing options...
noobstar Posted December 18, 2006 Author Share Posted December 18, 2006 Thank you very much it worked nicely :)Sorry for the slow reply Link to comment https://forums.phpfreaks.com/topic/30831-sending-emails/#findComment-143374 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.