You need to sign in to do that
Don't have an account?

Customizing ics subject headings
Hi,
I need to send out a calendar invite (ics) from APEX. I can genrated and send out the invite but for some reason cannot customize subject.. Here is what I am doing
String ics = 'BEGIN:VCALENDAR\n' ... +'SUMMARY;LANGUAGE=en-us:'+subject+'\n' ... +'END:VCALENDAR\n';
Blob.valueOf(ics)
Attaching the blob. ALL the custom fields I set in the invite - times, location, etc work fine. But the subject is alwaty - "Sandbox:"
Thank you
I need to send out a calendar invite (ics) from APEX. I can genrated and send out the invite but for some reason cannot customize subject.. Here is what I am doing
String ics = 'BEGIN:VCALENDAR\n' ... +'SUMMARY;LANGUAGE=en-us:'+subject+'\n' ... +'END:VCALENDAR\n';
Blob.valueOf(ics)
Attaching the blob. ALL the custom fields I set in the invite - times, location, etc work fine. But the subject is alwaty - "Sandbox:"
Thank you
I think this "msg.setSubject(subject);" should work,
See the detailed code and conversation in the below thread,
https://developer.salesforce.com/forums?id=906F000000093eNIAQ
Regards,
Ashish
All Answers
I think this "msg.setSubject(subject);" should work,
See the detailed code and conversation in the below thread,
https://developer.salesforce.com/forums?id=906F000000093eNIAQ
Regards,
Ashish
You are right. We figured it out a while ago but that was the issue