How to send email from matlab?

3 次查看(过去 30 天)
Asha D.
Asha D. 2019-8-13
评论: Adam Danz 2019-8-13
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 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by