You need to sign in to do that
Don't have an account?
Subbu's
Email not Receiving After creating EventRelation Record..
Hello ,
I am looking to add Invitees to an event through apex code , I was succeded to do this using Event Relation Object , but the problem is I am not able to send any mails like the standard button did..
Can any one plz suggest me how to send an email after creating Event Relation record ..
Thx in advance ..
For others looking, here's how this can be done, where evtId is the event ID and InviteeId is the ID of a user, contact, or lead, by setting the EmailHeader values triggerUserEmail and/or triggerOtherEmail:
If you're in a sandbox, make sure emails deliverability is set to All Email to test, or you won't get the emails!
Some helpful documentation here: https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_class_Database_EmailHeader.htm