how can I check mail server that it is ready for receiving email
hello
I am writing an script for sending emails with ssmtp email client in an appropriate form.I want to know how can I check mail server that I want to send mail to it if it exist and ready to receive email or if not log an error .
Thanks
|