Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8076

Send Email Activity - Upload of MIME type text/html not permitted

$
0
0

Hello all,

 

I am following this blog to send an email.

 

http://scn.sap.com/community/business-bydesign/studio/blog/2013/12/12/html-custom-email-notifications-in-sap-cloud-applications-studio

 

 

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?


Viewing all articles
Browse latest Browse all 8076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>