Jump to content

sending emails from localhost ??


Accurax

Recommended Posts


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 editing

Any help appreciated
Link to comment
https://forums.phpfreaks.com/topic/32955-sending-emails-from-localhost/
Share on other sites

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 line

SMTP = localhost

and change local host to what ever you need.

mine is

SMTP = smtp.blueyonder.co.uk

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.