Writing outlook email from matlab

7 次查看(过去 30 天)
I am trying to send an email in outlook from matlab. The email needs to have multiple lines in it. I have been trying out different methods to create line breaks and new paragraphs such as:
[intro '<p>' body '<p>' sig]
['<p>' intro '</p> <p>' body '</p> <p>' sig]
[intro '<br>' body '<br>' sig]
[intro '<br/>' body '<br/>' sig]
No matter what I try, the email shows every symbol and does not do a line or paragraph break (I am using HTML formatting). Any help would be greatly appreciated!
I forgot to mention in the question that I am using ActiveX control for this.

回答(1 个)

mizuki
mizuki 2017-2-19
Please see "More about" section in SENDMAIL function doc. SENDMAIL does not support HTML format.

产品

Community Treasure Hunt

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

Start Hunting!

Translated by