SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2010
    Posts
    169
    Mentioned
    2 Post(s)
    Tagged
    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?

  2. #2
    Barefoot on the Moon! silver trophy
    Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,524
    Mentioned
    51 Post(s)
    Tagged
    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


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •