Timeline for Send email to user when activated, using workflow rule
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 9, 2017 at 14:17 | vote | accept | Renato Oliveira | ||
Jan 9, 2017 at 14:11 | comment | added | Renato Oliveira |
I've collected the SendResult, and iterated over it. It is always successful (isSuccess() returns true).
|
|
Jan 9, 2017 at 14:10 | answer | added | Devendra | timeline score: 5 | |
Jan 9, 2017 at 14:08 | comment | added | EvAzi |
Could you tell please, what didn't work for email field in workflow? And since both - workflow and trigger don't work, I would suggest you to check an e-mail address on user. Also, write System.debug(Messaging.sendEmail(emails)); instead of Messaging.sendEmail(emails); to check the results. And after that look into debug logs - it could be that your trigger doesn't fire the code.
|
|
Jan 9, 2017 at 13:54 | history | asked | Renato Oliveira | CC BY-SA 3.0 |