I have a formula "String" field that returns a couple space-separated email addresses. I want to use this formula field for the SEND TO in a Send Email trigger. However, when the trigger runs, it does not send the emails.
Debug:
Checking trigger: New Task Email (ID=...)
Running New Task Email on Task 2: Task 21 (ID=...)
Task 2 Task 21 (ID=...): No address to send email message: template={!assigned_to_emails}
New Task Email has NOT ran
Thanks
Thanks also for the details here Mike. We are tracking this one internally as bug #5141.
Matt
This may only happen when your template field is empty. Please verify content you your field for particular record.
I confirmed the formula returns a valid email address.
Please try to create a formula field (string) named test_email_string_fo with this formula:
return "test@test.com";
Then use it as the Send To in a email trigger and run the trigger. The trigger debug says:
.....
No address to send email message: template={!test_email_string_fo}
.....
It's as if the Send To field is not recognizing the token and does not parse it.
Thanks
OK, got it, will take another look.