Borrar filtros
Borrar filtros

How to send email from matlab?

3 visualizaciones (últimos 30 días)
Asha D.
Asha D. el 13 de Ag. de 2019
Comentada: Adam Danz el 13 de Ag. de 2019
Getting error with this code.
  2 comentarios
David Wilson
David Wilson el 13 de Ag. de 2019
Probably not smart to hardcode your email password in the attached code!
Adam Danz
Adam Danz el 13 de Ag. de 2019
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.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by