webclickusa — 2006-02-16T23:20:16-05:00 — #1
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.
jeffgsr — 2006-02-16T23:48:58-05:00 — #2
I have a site hosted by GoDaddy and the PHP mail function works fine fore me. Maybe there is something wrong your code.
penguinator — 2006-02-17T02:05:38-05:00 — #3
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?
mail("email@example.com", "test message from godaddy", "this is a test message, if you are reading this the email was sent successfully.");
Just replace firstname.lastname@example.org with your email.
webclickusa — 2006-02-17T16:38:25-05:00 — #4
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.
getweb — 2006-02-17T17:10:12-05:00 — #5
Perhaps this will solve your problem:
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.
penguinator — 2006-02-17T23:00:48-05:00 — #6
Oh, ok. That would be the problem then. I think the class that getweb provided should do the trick.
aalvarado_gmail — 2006-02-22T11:29:50-05:00 — #7
and what was the solution? did you active it or use another code?
pejvak — 2006-02-23T08:12:29-05:00 — #8
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.
penguinator — 2006-03-13T02:45:25-05:00 — #9
1) you need to give more info about your problem
2) you should probably start a new thread