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
Navee RahulNavee Rahul 

Notifictaion Email When Event Updated

I have a custom Event page, where i have invite section  for an event,when i try to update any comment or custom field,
Im not receiving Email Notfication for existing Invitees.

where i can receive email notification for newly added Invitees.
Here is Below code for for new invitee(WORKING).

Database.DMLOptions dlo = new Database.DMLOptions();
 dlo.EmailHeader.triggerUserEmail  = true;
 dlo.EmailHeader.triggerOtherEmail  = false;
 dlo.EmailHeader.triggerAutoResponseEmail = false ;
 Database.insert(NewRelation,dlo);


Here is Below code for for existing invitee(NOT WORKING).

Database.DMLOptions dlo = new Database.DMLOptions();
 dlo.EmailHeader.triggerUserEmail  = true;
 dlo.EmailHeader.triggerOtherEmail  = false ;
 dlo.EmailHeader.triggerAutoResponseEmail = false ;
 Database.update(existRelation,dlo);

where existRelation will have only event id and RelationId.

its an Bug or this feature is not available??.


Thanks
D Naveen rahul.
Navee RahulNavee Rahul
looks like bug in salesforce,any way did a manual codes to send email.


Thanks
D Naveen Rahul.