Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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