【发布时间】:2018-06-14 18:47:54
【问题描述】:
【问题讨论】:
标签: typescript email ionic-framework
【问题讨论】:
标签: typescript email ionic-framework
要传递 HTML 正文,您需要在电子邮件中使用 isHtml 属性,如下所示
let email = {
to: 'test@test.com',
cc: 'cc@rtest.com',
subject: 'Test mail with HTML body',
body: '<a href='http://www.google.com'>',
isHtml: true
};
纯文本传递 isHtml: false 和 HTM 正文传递 isHtml: true
希望这会有所帮助!
【讨论】: