using MATLAB to send email through Outlook

5 Ansichten (letzte 30 Tage)
John
John am 2 Jun. 2015
Kommentiert: John am 3 Jun. 2015
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 Kommentare
John
John am 2 Jun. 2015
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 am 3 Jun. 2015
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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by