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
Rabbani sayyed 8Rabbani sayyed 8 

In visualforce page i do have two buttons one is edit and delete, my requirement is whenver i click on edit button it should need to send notification mail to an external system and for delete button also same? any suggestions on this synario?

In visualforce page i do have two buttons one is edit and delete, my requirement is whenver i click on edit button it should need to send notification mail to an external system and for delete button also same? any suggestions on this synario?
Shashikant SharmaShashikant Sharma
When you say need to send notification mail to an external system .

1. Is it a Outbound Email or any Outbound Soap message.
2. What is that external system

Please share more infomration.
Rabbani sayyed 8Rabbani sayyed 8
Hi sharma 
yeah it is outbound email
Shashikant SharmaShashikant Sharma
You could send email from Apex using SingleEmailMessage

http://www.sfdc99.com/2014/03/01/sending-emails-using-apex/