function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Apex EmailAttachment - can you use a microsoft doc file?

Hi there. When creating an instance of EmailFileAttachment, can you call setBody with an argument of

.doc? I.e a word file? I would imagine not as it's a binary file. But, if there is an alternative - is anybody aware

if you can even send an email with a .doc attachment?