Web Hosting
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsWeb DesignWeb Hosting

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 4th, 2007, 02:34 AM
jalmod jalmod is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 2 jalmod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 54 sec
Reputation Power: 0
Unhappy Php mail function not working with godaddy.com

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?



Reply With Quote
  #2  
Old June 15th, 2007, 02:23 AM
eponymoose eponymoose is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2007
Posts: 1 eponymoose User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 30 sec
Reputation Power: 0
Check your hosting settings...you need PHP Linux, not ASP windows

google unofficial godaddy test site for more info

peace out

Reply With Quote
  #3  
Old August 10th, 2007, 03:59 PM
Software506.com Software506.com is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 1 Software506.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 46 sec
Reputation Power: 0
Talking Sending Email using PHP from Godaddy host

Godaddy has the php.ini file configured with all the information.
This is the code to send a email using php is:
PHP Code:
<?
include_once("Mail.php");
...

$to "support@software506.com"
$subject "Email from php";
$body "Hi \n this is a test";

mail($to$subject$body);

...


this just works in the godaddy host, no for test locally.
it works for me.
just try it.

Reply With Quote
  #4  
Old November 13th, 2007, 10:55 PM
brandontt brandontt is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 1 brandontt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 41 sec
Reputation Power: 0
Arrow Sending Email using PHP from Godaddy host

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

Reply With Quote
  #5  
Old January 9th, 2008, 05:26 AM
jalmod jalmod is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 2 jalmod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 54 sec
Reputation Power: 0
Red face

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.


Reply With Quote
  #6  
Old January 20th, 2011, 02:44 PM
rareetymnSono rareetymnSono is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Location: Zimbabwe
Posts: 2 rareetymnSono User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 sec
Reputation Power: 0
Send a message via ICQ to rareetymnSono
Defloration - Choky White

Defloration Choky White http://world-teenies.net/upload/images/78662135617513722553.jpg http://www.fastpic.info/image/20100418/df977fe073.jpg http://world-teenies.net/upload/images/41611989483184148133.jpg http://d.imagepix.org/Files/Images/d/f/4/df4aa9b75989b7283a2fe6c6aa22c4bc.jpg
Code:
 Fileserve http://www.fileserve.com/file/uJfC4Mf  Hotfile http://hotfile.com/dl/86923321/c0d3c43/Choky_White_1133.rar.html 

Reply With Quote
  #7  
Old February 28th, 2011, 02:16 PM
jbowers jbowers is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2011
Posts: 1 jbowers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 53 sec
Reputation Power: 0
Didn't work then did

I was able to send email with the following:

$to = "jbowers@myemail.com";
$subject = "Email from php";
$body = "Hi this is a test";

mail($to, $subject, $body);

At first it didb't work. Then it did.

Reply With Quote
  #8  
Old August 17th, 2011, 08:43 PM
johna81 johna81 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2011
Posts: 5 johna81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 31 m 49 sec
Reputation Power: 0
Quote:
Originally Posted by jbowers
I was able to send email with the following:

$to = "jbowers@myemail.com";
$subject = "Email from php";
$body = "Hi this is a test";

mail($to, $subject, $body);

At first it didb't work. Then it did.
Congrats its working well..

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Hosting > Php mail function not working with godaddy.com


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap