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

조회 수: 5 (최근 30일)
Mario Trevino
Mario Trevino 2014년 7월 29일
답변: Image Analyst 2014년 7월 29일
any suggestions?

채택된 답변

Image Analyst
Image Analyst 2014년 7월 29일
See attached demo. You can modify it to adapt to your mail server name and your email address.

추가 답변 (1개)

Andrew Reibold
Andrew Reibold 2014년 7월 29일
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
Mario Trevino
Mario Trevino 2014년 7월 29일
Error using sendmail (line 64) Could not determine SMTP server. You can set one like this: setpref('Internet','SMTP_Server','myserver.myhost.com');

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

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by