Accurax Posted January 5, 2007 Share Posted January 5, 2007 im writing a script that sends an email as part of the registration process, and testing it is prooving problematic .... does anyone know if its possible to test this mail function locally, or do i have to upload first?Im using WAMP btw, I think i might have to change the php.ini file... but not sure exactly what needs editingAny help appreciated Quote Link to comment https://forums.phpfreaks.com/topic/32955-sending-emails-from-localhost/ Share on other sites More sharing options...
ToonMariner Posted January 5, 2007 Share Posted January 5, 2007 yep - you need to the SMTP yalue in your php.ini file. This will just be the smtp server of your isp at home.so in your php.ini file find this lineSMTP = localhostand change local host to what ever you need.mine is SMTP = smtp.blueyonder.co.uk Quote Link to comment https://forums.phpfreaks.com/topic/32955-sending-emails-from-localhost/#findComment-153469 Share on other sites More sharing options...
Accurax Posted January 5, 2007 Author Share Posted January 5, 2007 Ive set the SMTP to exactly what BT say it should be set to.... but im still getting nowhere...... it feels like theres more to this than just changing a line in the php.ini ... am i correct? Quote Link to comment https://forums.phpfreaks.com/topic/32955-sending-emails-from-localhost/#findComment-153473 Share on other sites More sharing options...
kenrbnsn Posted January 5, 2007 Share Posted January 5, 2007 Did you restart the Apache webserver process?Ken Quote Link to comment https://forums.phpfreaks.com/topic/32955-sending-emails-from-localhost/#findComment-153591 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.