This functions sends an email to a recipient with Outlook using OLE.
Rainer F. (2020). Sends E-mail with Outlook OLE (https://www.mathworks.com/matlabcentral/fileexchange/4508-sends-e-mail-with-outlook-ole), MATLAB Central File Exchange. Retrieved .
how to further optimize this code to send an email without outlook open?
Works perfectly with Outlook 2010. I haven't had any permission notification from Outlook.
Excellent solution. Works really well. Tested with Matlab R2008b and Outlook 2003.
Outlook asks for the user permission but its fine for me.
Great if it was not for the Outlook notification "external application is accessing..."
This solution is easier if you need to send email from Matlab:
There is a program called ClickYes, which will automatically click the yes button on the "external application is processing..." warning box.
Works OK with outlook2003.
Did anyone solve the approval notification from Outlook: "external application is accessing...Blah Blah ?"
Without that, every send operations still requires user approval at Outlook.
This works with Outlook 2007 Beta. Of course, one can always ask for more options, such as getting input from a struct instead, and optionally being able to specify the sender.
I give this 5 stars.
Great, works with Outlook 2000 fine. Only snag is that outlook must be running before using the command, but that is easy to work around using Windows Startup icon group.
Good It works !
Good One. it works...
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!