Hello all,
I am following this blog to send an email.
docName = "body.html"; doctype.content = "10001"; binaryObject.mimeCode = "text/html"; binaryObject.content = Binary.ParseFromString("<html><head></head><body><div style=\"font-weight:bold;\">test</div><body></html>"); instActivityAttachm.CreateFile(doctype, docName, docAltName, docDesc, binaryObject); instEmail.Send(); instEmail.Send();
While sending the HTML email, I am getting the error "Upload of MIME type text/html not permitted"
The email was sent out but without the HTML attachment.
How can we get away with this restriction?