I try to send email using Matlab, it indicate an error such as below, how can i fix it?

1 view (last 30 days)
??? Error using ==> sendmail Could not establish connection with smtp.gmail.com. on port 25.

Answers (1)

Walter Roberson
Walter Roberson on 16 Dec 2012
You are either not connected to the Internet from that system, or else there is a firewall of some sort between you and gmail.com . The firewall might be right on your system itself, such as if you are using MS Windows and have activated the firewall in your Security Centre.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!