kiss-o-matic Posted July 27, 2007 Share Posted July 27, 2007 I'll make this quick. I have a godaddy virtual dedicated server. I was literally told they weren't allowed to help me trouble shoot this problem (although they gave me some hints) WTF? Anyway, I'm using the following PHP code snippte: if ( mail( $to, $subject, $body, $headers ) ) { $msg = 'Succesfully sent mail. Thank you.<br>'; return true; } else { $msg = 'Mail Delivery failed.<br>Please contact administration in the forum.'; return false; } I get no errors... but also no mail. The tech said (through another tech after 30 minutes) I need to "white list" an IP. I assume this is a sendmail setting. Next problem? There's no sendmail config file. :/ Anybody have any experience w/ this? Quote Link to comment Share on other sites More sharing options...
akitchin Posted July 27, 2007 Share Posted July 27, 2007 so, perhaps this is a good place to tell us what exactly the problem is.. is it not sending, is your host refusing to let it run, are you not getting any output, are you getting error outputs? Quote Link to comment Share on other sites More sharing options...
kiss-o-matic Posted July 27, 2007 Author Share Posted July 27, 2007 Sorry, I hit post before I was done and went back. Edited now. EDIT: Worth noting: the exact code works fine on a dedicated server Quote Link to comment Share on other sites More sharing options...
kiss-o-matic Posted July 27, 2007 Author Share Posted July 27, 2007 I've decided to go w/ phpmailer(). I guess I'll mark this as solved. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.