|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I was suffering during the past week with the problem of sending email from my site, my site is hosted with godaddy.
The php mail command seems not working probably, although some times it does. The command does not return any error, but my emails never reach to detonations. I have contacted the support team several times, but seem that they do not understand what I am talking about. Any body here can help me? ![]() |
|
#2
|
|||
|
|||
|
Check your hosting settings...you need PHP Linux, not ASP windows
google unofficial godaddy test site for more info peace out |
|
#3
|
|||
|
|||
|
Godaddy has the php.ini file configured with all the information.
This is the code to send a email using php is: PHP Code:
this just works in the godaddy host, no for test locally. it works for me. just try it. |
|
#4
|
|||
|
|||
|
We too had one of our clients hosted with godady and this function working very well.
Regards Einfoway.com A1domainhosting.com |
|
#5
|
|||
|
|||
|
Hi guys this is what you have to use.
You need to use Pear thats already included on the godaddy hosting and then inlcude the mail.php Here is a function to help you: This will even allow you to send html emails require_once "Mail.php"; function emailHtml($from, $subject, $message, $to) { $host = "localhost"; $username = ""; $password = ""; $headers = array ('MIME-Version' => "1.0", 'Content-type' => "text/html; charset=iso-8859-1;", 'From' => $from, 'To' => $to, 'Subject' => $subject); $smtp = Mail::factory('smtp', array ('host' => $host, 'auth' => false)); $mail = $smtp->send($to, $headers, $message); if (PEAR::isError($mail)) return 0; else return 1; } Have fun Brandon Tapera |
|
#6
|
|||
|
|||
|
Sorry guys, I discovered the reason of this problem. The problem was because the limit set to 1000 emails per day.
Thank you all for your participation. ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Hosting > Php mail function not working with godaddy.com |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|