How to send email from matlab?

Getting error with this code.

2 Comments

Probably not smart to hardcode your email password in the attached code!
Asha D., as David mentioned, if the password is not fake, remove the attachment ASAP. Since your code is short, it's better just to embed the code within your question rather than attaching it.
What error are you getting?
A common problem with sending emails from matlab is the antivirus program or a firewall blocking the commands.
Here's a demo that works with gmail emails.

Sign in to comment.

Answers (0)

Tags

Asked:

on 13 Aug 2019

Commented:

on 13 Aug 2019

Community Treasure Hunt

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

Start Hunting!