Jump to content

email testing in wamp server


contra10

Recommended Posts

Edit your PHP.ini,

 

as below making your you remove the " ; " from the starts of the lines as i have below then restart the server

 

[mail function]

; For Win32 only.

SMTP = mail.myisp.com

smtp_port = 25

 

; For Win32 only.

sendmail_from = me@myaddy.com

Link to comment
Share on other sites

You would need to make sure you have an smtp server running on the same machine... Which WAMP may do (unfamiliar with it). Then you use the php mail() function to send an email to your hotmail address... if there is no internet connection, that is a problem in delivering mail :)

Link to comment
Share on other sites

I don't know much about WAMP but i use XAMPP and i know they have a mail server built in for testing that you can configure outlook to connect to. and it can all be done ofline. you would need to go to their website to check it out.

 

Its not really a php issue.

http://www.apachefriends.org/en/xampp-windows.html

 

Link to comment
Share on other sites

...arg...i shouldn't have went with WAMP

 

k so the smtp is the problem as i get this

 

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\forum\addtopic.php on line 65

 

so i have to run on same port as an smtp...i'm going to dl one...any suggestions

Link to comment
Share on other sites

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.