PHP Mail() Function not working on GoDaddy?!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bla5e
Forum Contributor
Posts: 234
Joined: Tue May 25, 2004 4:28 pm

PHP Mail() Function not working on GoDaddy?!

Post by bla5e »

I recently finished a project for a client - and I do all of my development work on my own server (Hosted with 1and1) - well when i transfered the files over to their hosting with GoDaddy the mail() function no longer mails.. it doesn't give any errors it just never gets received.. anyone else having this problem and what is the solution?? driving me insane! :banghead:
User avatar
tr0gd0rr
Forum Contributor
Posts: 305
Joined: Thu May 11, 2006 8:58 pm
Location: Utah, USA

Re: PHP Mail() Function not working on GoDaddy?!

Post by tr0gd0rr »

Often you need to use SMTP mail in those cases. A straight call to mail() often gets blocked by spam filters. You'll want to get username/password access to an SMTP server and use SMTP classes in PEAR, CakePHP, Zend or the like.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: PHP Mail() Function not working on GoDaddy?!

Post by John Cartwright »

It would be helpful to see the error.

When it comes to mailing, the only solution I see as up to the task is http://swiftmailer.org
Post Reply