I have written up a PHP script that sends form inputs to an email. However, the free webhost that I've tried could only send SMTP to a domain that you owned. I don't have one yet, and can only use subdomains, and can't send to emails like gmail.com

Do you know of any free webhosts that let you send to gmail? It's just to test the script and see whether it works, and therefore it doesn't matter if there are ads or other stuff.

2 Answers 2


If you're just testing the script, you could simply set up a PHP environment on your own computer using WAMP (Windows) or MAMP (Mac), then use your ISP's SMTP details or a Gmail account to send the email.


You could also use WAMP with Mercury Mail. It allows you to easily set up a SMTP server on your computer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.