MATLAB Answers

How to create html formatted text as a message part of send mail function

2 views (last 30 days)
Stalin Samuel
Stalin Samuel on 13 Dec 2016
Answered: mizuki on 20 Dec 2016
I know that send mail function allows us to send mails (i am using gmail) from matlab .My objective is to feed html formatted text in the message part.i am using the below syntax
sendmail(recipient, subject, message);

Accepted Answer

mizuki
mizuki on 20 Dec 2016
Unfortunately, SENDMAIL does not support HTML format. It is written in the documentation. (You can send HTML files as an attachement.)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by