SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2002
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Godaddy Hosting / PHP Email Functions

    I have a site hosted with Godaddy. Apparently Godaddy turns the php mail function off. The page is a DB driven (phy / mysql) page.

    Anyway, upon successful submission of the form to the DB I want an e-mail confirmation to be sent.

    What are my opinions while still keeping the page php?

    Is it possible to call to an .aspx file from within the php form to do the job of sending the mail on successful submission?

    Any help / examples would be greatly appreciated.

    Thank you

  2. #2
    SitePoint Addict
    Join Date
    Nov 2002
    Location
    Maryland
    Posts
    307
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a site hosted by GoDaddy and the PHP mail function works fine fore me. Maybe there is something wrong your code.

  3. #3
    SitePoint Addict
    Join Date
    Nov 2005
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try running the below file and see if it works. I find it hard to believe that godaddy would disable the php mail function. Are you sure it is not going to your spam folder or something?

    PHP Code:
    <?php
    mail
    ("you@domain.com""test message from godaddy""this is a test message, if you are reading this the email was sent successfully.");
    ?>
    Just replace you@domain.com with your email.

  4. #4
    SitePoint Enthusiast
    Join Date
    Aug 2002
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, this is the deal. The hosting package is "deluxe hosting with asp.net" which support php script as well. However, the windows hosting package php mail functions are disabled although it will parse other php scripts.
    Thank you for responding.




    Quote Originally Posted by cpellizzi
    Try running the below file and see if it works. I find it hard to believe that godaddy would disable the php mail function. Are you sure it is not going to your spam folder or something?

    PHP Code:
    <?php
    mail
    ("you@domain.com""test message from godaddy""this is a test message, if you are reading this the email was sent successfully.");
    ?>
    Just replace you@domain.com with your email.

  5. #5
    SitePoint Member
    Join Date
    Jan 2006
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perhaps this will solve your problem:

    http://phpmailer.sourceforge.net/

    It is a class for PHP that avoids the mail() function. You can specify the SMTP server to use - you should be able to use the SMTP server address that is provided with your account, and even authenticated SMTP if required.
    Adam Ellsworth
    GetWebSpace.com

  6. #6
    SitePoint Addict
    Join Date
    Nov 2005
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by webclickusa
    ok, this is the deal. The hosting package is "deluxe hosting with asp.net" which support php script as well. However, the windows hosting package php mail functions are disabled although it will parse other php scripts.
    Thank you for responding.

    Oh, ok. That would be the problem then. I think the class that getweb provided should do the trick.

  7. #7
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face solution?

    and what was the solution? did you active it or use another code?


    Quote Originally Posted by webclickusa
    ok, this is the deal. The hosting package is "deluxe hosting with asp.net" which support php script as well. However, the windows hosting package php mail functions are disabled although it will parse other php scripts.
    Thank you for responding.


  8. #8
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem with e mail

    guys where do i post my problem with e mail?
    i could send e mail from my web site but i can not receive any?
    this is what i get
    This is an automatically generated Delivery Status Notification.

    Delivery to the following recipients failed.

    contact@tajcontractor.com
    help pls

  9. #9
    SitePoint Addict
    Join Date
    Nov 2005
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by pejvak
    guys where do i post my problem with e mail?
    i could send e mail from my web site but i can not receive any?
    this is what i get
    This is an automatically generated Delivery Status Notification.

    Delivery to the following recipients failed.

    contact@tajcontractor.com
    help pls
    1) you need to give more info about your problem
    2) you should probably start a new thread


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
  •