This topic is locked

A way to test e-mails

10/16/2020 9:37:44 AM
PHPRunner Tips and Tricks
D
david22585 author

Just a small little tip, but I was looking for a way to test e-mails on my local WAMP server when testing applications. I wanted to make sure that the formatting, layout, email addresses, etc were all correct. I didn't want to have to publish the application and then test. I found this free tool called Test Mail Server Tool that runs in the background and intercepts all mail requests and will save/show them on windows.
Here is the tool:
https://toolheap.com/test-mail-server-tool/
Now they don't provide a download link on their site, but I found it here:
https://test-mail-server-tool.soft112.com/
Hopefully this can help others with e-mail development.

Sergey Kornilov admin 10/31/2020

I believe that they provide the download link here:

https://toolheap.com/test-mail-server-tool/users-manual.html

I
itmgr@maxitrol.com 11/14/2020

I usually set a boolean session variable indicating if I am in test mode, based on the server name running the app. Then I create alternative email addresses for sender or recipient as needed with an if statement as I work up the email data.