Results 1 to 2 of 2
May 17, 2011, 12:08 #1
- Join Date
- Aug 2010
- 2 Post(s)
- 0 Thread(s)
how tosend email without my own mail server
not sure if this is the correct forum for this question..
Go Daddy hosts my php site, I have a contact form on my site, but I would rather not use go daddy at all to deliver mail from this contact form to my gmail account.
I heard it was possible to use gmail to deliver mail from my site. Is that possible? Do you know of documentation to teach me how. If not, do I have any options to send email without go daddy?
May 17, 2011, 14:16 #2
- Join Date
- Jul 2003
- Northeastern USA
- 37 Post(s)
- 1 Thread(s)
In your PHP code, you can use the mail() function to send an email when the form is submitted. The "to" address can be your gmail account, and the "from" address defaults to your server's default outgoing address (though this can be changed)
PHP: mail - Manual
If you would rather not do this, then your other option would probably be to save the data in a database.Visit The Blog | Follow On Twitter
301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
Can be hosted on and utilize your own domain
The 2013 SitePoint Awards - Nominate your heroes now!