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
Karthik SankarKarthik Sankar 

Standard functionality for "SendNotificationEmail" field in Task

In a visualforce page, I am providing options to create task with all the task fields. In the standard edit page of the task, you can find out a checkbox "SendNotificationEmail" which can be customized at page layout only.

In my visualforce page also, I need to provide the same checkbox. If there is any field for sendNotificationEmail at the database level, then I can simply use <apex:inputField> tag. But I could not find out a field for sendNotificationEmail.

So, one way to send email is, I can place a checkbox in the visualforce page for sendnotificationemail and at the controller, if that checkbox is clicked, I will send a mail using Email class of apex. But, is this the only way to do it?

So, please let me know is there any field for sendNotificationEmail in task at the database level or

is there any way to send email?