Jump to content

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
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.