Jump to content

[SOLVED] sendmail disaster


kiss-o-matic

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/62051-solved-sendmail-disaster/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.