how to send me an email from matlab running on another computer?

5 visualizaciones (últimos 30 días)
any suggestions?

Respuesta aceptada

Image Analyst
Image Analyst el 29 de Jul. de 2014
See attached demo. You can modify it to adapt to your mail server name and your email address.

Más respuestas (1)

Andrew Reibold
Andrew Reibold el 29 de Jul. de 2014
Have the other computer use sendmail?
sendmail (recipients,subject,message) sends an email included the specified message. If message is a string, sendmail automatically wraps text at 75 characters. To force a line break in the message text, use 10, as shown in the Examples. If message is a cell array of strings, each cell represents a new line of text.
Try to make your questions a little bit more specific. Not sure exactly what you want to do other than sending an email.
  1 comentario
Mario Trevino
Mario Trevino el 29 de Jul. de 2014
Error using sendmail (line 64) Could not determine SMTP server. You can set one like this: setpref('Internet','SMTP_Server','myserver.myhost.com');

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by