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

SetContentType for Meeting Invites in EmailFileAttachment

Is there any one who knows how to use setContentType for Meeting Invites when we send an Email with EmailFileAttachment.


Much appreciated

Is this with a Visualforce email template? If so, have you tried using the rendered as attribute with the <messaging:attachment/> tag?


          Thanks for the response. I have a scenario like this.  I want to send an email invitation to some selected 

contact Email Ids. For this i have to use the ics format and setContentType attribute which is released in Winter'10.

I just want to know how can i send an ics invitation using singleEmailMessage object and how to use

setContentType and setInline with EmailFileAttachment.




Hey There, 


Just want to point you to this other post in case it helps:


we are trying to get this to work as well with no luck.  would love hear any progress that you make.


may thanks.