How to send email from matlab?

Getting error with this code.

댓글 수: 2

David Wilson
David Wilson 2019년 8월 13일
Probably not smart to hardcode your email password in the attached code!
Adam Danz
Adam Danz 2019년 8월 13일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

질문:

2019년 8월 13일

댓글:

2019년 8월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by