Page 1 of 1
godaddy - php mailer
Posted: Thu Aug 23, 2007 9:03 pm
by kippy
Does anyone know how to work around/with the godaddy php mailer? I have a php script that works perfectly fine with my host(not godaddy), but shows no signs of life on godaddy. Any help is appreciated!
Posted: Thu Aug 23, 2007 10:58 pm
by John Cartwright
This sounds like something you should discuss with your host.
Otherwise, are you getting any error messages? PHP mailer has a debugging feature, if memory serves.
or something along those lines.
Out of habbit, you should be using cough cough
swiftmailer.org
Posted: Fri Aug 24, 2007 3:03 am
by Chris Corbyn
GoDaddy make it a near impossibility to use anything other than mail() unless you're not on a basic shared hosting plan. It sucks

I've just recently dealt with a GoDaddy customer who was having problems with creating sockets and starting processes. Swift does have a mail() connection though.
Posted: Sat Aug 25, 2007 1:18 pm
by kippy
so there is no way to use the following with godaddy?
Code: Select all
$msg="Some message.\n\n";
$to="something@something.com";
$subject="Subject";
$mailheaders="From: www.something.com Site <>\n";
Posted: Sat Aug 25, 2007 1:19 pm
by kippy
sorry forgot to include:
Code: Select all
mail($to, $subject, $msg, $mailheaders);
Posted: Sat Aug 25, 2007 4:47 pm
by Chris Corbyn
kippy wrote:sorry forgot to include:
Code: Select all
mail($to, $subject, $msg, $mailheaders);
Re-read my reply. I didn't say mail() won't work, I said "aything other than mail()"

Posted: Sat Aug 25, 2007 5:05 pm
by kippy
So how does swift mailer work? Does it have to be installed ona server, etc?
Posted: Sat Aug 25, 2007 5:10 pm
by Chris Corbyn
kippy wrote:So how does swift mailer work? Does it have to be installed ona server, etc?
It's PHP code. You just upload it to your host's server and run it like any other PHP code

It won't work with SMTP or Sendmail on GoDaddy servers in just the same way PHPMailer won't work on their servers. You'll probably get Swift's NativeMail connection working in just the same way mail() should work though.
GoDaddy bug me... but I guess when they sell their plans for peanuts they can't be expected to provide anything very flexible.
Posted: Sat Aug 25, 2007 5:36 pm
by kippy
so how did you get yours to work? I mean, you would think sending emails wouldnt be that difficult...
Posted: Sun Aug 26, 2007 11:12 am
by Chris Corbyn
kippy wrote:so how did you get yours to work? I mean, you would think sending emails wouldnt be that difficult...
I write Swift Mailer. I'm not sure what you mean... I don't use GoDaddy so I haven't been able to get it working on GoDaddy servers. Are you saying mail() doesn't work neither? Have you spoken to GoDaddy about this yet?
Posted: Fri Aug 31, 2007 12:47 pm
by kippy
Just FYI, in regards to the godaddy mail() issue. I was able to have godaddy transfer the account from a windows server to a linux server and the mai() function works perfectly on the linux server. I hope this helps others that come accross same issue.