How to verify you can connect to a SMTP server

How can I verify if I can connect to my email server? I’m having issues sending email using an SMTP server and I want to know if it is because of my code or due to an external issue. What is an alternative to verify connection settings to an SMTP Host?

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.