You need to sign in to do that
Don't have an account?
RRES
Use of setContentType and setInline methods on EmailFileAttachment
Does anyone know how to use setContentType and setInline methods on EmailFileAttachment? There is no documentation on code usage in the Winter 10 Release notes.
I'm trying to send an iCal invite from Apex. I would think the MIME content type would be text/Calendar but I'm not sure how to set that.
Thanks,
Rich
Hi Rich,
I am having the same issue. I have tried the following without success.
setContentType('text/calendar');
setContentType('application/calendar');
setContentType('text/x-vCalendar');
setContentType('application/x-vCalendar');
Additionally, I strongly believe, but am not certain that this method sets MIME type.
Have you found a solution yet?
Anything happening on this?
We haven't heard anything from Salesforce how they are able to perform this operation.