using MATLAB to send email through Outlook

조회 수: 6 (최근 30일)
John
John 2015년 6월 2일
댓글: John 2015년 6월 3일
I need to use MATLAB to send emails of reports using Outlook 2010.
I cannot use sendmail. My SMTP server in the building requires authentication, and users cannot access the server directly, per IT. Bummer...
I did find one that works, but it uses a personal email to do it, and I don't want to run into problems with sending work info through personal email.
It can be found here under the "Once again the attached code." link towards the bottom of the page :
I've also tried to use ActiveX, but I cannot find one that works. Is this because of not being allowed to connect to my SMTP server at work? Examples of what I've tried:
Does anyone have any ideas that I could try? I appreciate any help!
  댓글 수: 3
John
John 2015년 6월 2일
Found this one:
I'm following the syntax to call the function, but it's not working. I get this error:
Error: Operation aborted
Error in sendEmailWithOutlook (line 27)
email.Recipients.Add(emailAddress);
John
John 2015년 6월 3일
Anyone got any tips I could try? Is it possible for me to use ActiveX to connect MATLAB to Outlook if I cannot authenticate to the SMTP server? Or should I try another way?

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

답변 (0개)

카테고리

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