Simple PHP Mail Script

Simple PHP Mail Script

Simple PHP Mail Script

Very simple Simple PHP mail script. Usually I use it for testing purposes, so I'm just going to save it here :D

Copy and paste this into a test-mail.php file:


Then to run the script just run:

php test-mail.php

I would assume that you are testing this on a Linux machine, so if you need to send a few emails you can do something like this:

for i in {1..3}; do php test-mail.php; done

This would run the test PHP script 3 times.

 

Coffee For Me
Recent Posts
Proxies Demystified
Proxies Demystified
2019-11-05 09:31:05
Tags