Jump to content

Determine smtp status


Stooney

Recommended Posts

Is it possible to find whether or not there is a working smtp server setup with the current installation?  Basically I'm working on a script which at some point attempts to mail().  I want to make something like:

 

if(smtp works){
    mail();
} else{
    no mail;
}

 

(Of course not quite like that, that's just the idea)

Link to comment
https://forums.phpfreaks.com/topic/128051-determine-smtp-status/
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.