我正在使用以下代码在 html Web 应用程序中附加文件,但它不起作用
<div class="email_pot">
<a href="mailto:eptt@att.com?subject=Enhanced Push-to-Talk&attachments=["js/data.js","js/data.js"]"></a>
</div>
对于附加文件,我使用以下程序,如下所示
{
"toEmail": "ToAddressEmail"
,"toName": "ToAddressName"
,"subject": "SubjectLine"
,"body":"BodyText"
,"bodyHtml":"HTML Body Text"
,"attachments":["AttachmentPath","
AttachmentPath"],"titleColour":"Hex Colour (i.e.FF0000)"
}