sessions — 2011-05-17T16:08:36-04:00 — #1
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?
force — 2011-05-17T18:16:37-04:00 — #2
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.