Skip to main content
Brian Oconnell (White Pine Diamonds) 님이 #Apex에 질문했습니다
I would like to use an existing Email Alert in an Apex class.

I do not want to simply send an email from the class.

The reason is that Administrators will want to change recipients and/or templates, and they should be able to do so using clicks, not code.

Is this possible?
답변 3개
  1. 2018년 4월 2일 오후 6:54
    You can use a custom label for the email recipients.  This would allow admins to edit the template and the recipients without changing any code.  Not the same as using a defined email alert, but the admins would still have the same functionality.
0/9000