skeletonne
skeletonne

Reputation: 83

Using Test Mail Server Tool with WAMP?

I'm attempting to send some test mail to myself while working on a PHP script. I've researched some other questions and it led me to this tool:

http://www.toolheap.com/test-mail-server-tool/

Others have said that it works perfectly but I'm having trouble using it myself. My php.ini files should be reset to default values as I tried to change the SMTP values at one point, but now they are back to "smtp.wlink.com.np".

For anyone that has used this tool, how does it work? Where do I have to send the e-mail to?

$to = "localhost";

?

Upvotes: 2

Views: 3101

Answers (1)

rightstuff
rightstuff

Reputation: 6522

  1. Set the php.ini SMTP settings to 127.0.0.1 and port 25.

  2. Send the email to anyone, any address (i.e., send it to [email protected]).

The tool will "intercept" the email, and show it to you. The email will never leave your system.

Upvotes: 4

Related Questions