使用 HTML 格式发送电子邮件:修改 sendmail 以允许在正文中使用 html 格式-matlab开发

时间:2021-05-29 13:47:04
【文件属性】:
文件名称:使用 HTML 格式发送电子邮件:修改 sendmail 以允许在正文中使用 html 格式-matlab开发
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-29 13:47:04
matlab 默认的Matlab函数sendmail.m用于从Matlab发送电子邮件/文本消息。 但是,不可能在正文中包含 HTML 格式来为消息增添趣味。 作为此问题的解决方案,我在 UndocumentedMatlab.com [Reference-1] 上找到了实现此功能的帖子。 函数 sendmail2.m 已使用 Matlab 2016b 的代码进行了修改。 另一种方法是使用 Outlook,请参阅 [Reference-2]。 参考 1: https : //undocumentedmatlab.com/blog/sending-html-emails-from-matlab 参考 2: https : //nl.mathworks.com/matlabcentral/answers/94446-can-i-send-e-mail-through-matlab-using-micros
【文件预览】:
sendmail_html.zip

网友评论