Discussion posts and replies are publicly visible
akshayg0006 said:"No valid recipients resolved"
This error message has nothing to do with your configured sender. Without any way to tell otherwise, I would have to assume that the failures you're seeing are due to an invalid recipient address being passed. Can you post a screenshot of your current configuration?
Here it goes Mike Schmitt
This looks fine, assuming that pv!notes.primaryEmailAddress has a valid email address with no extra characters or spaces, and is either a single value or is an array where every entry is non-blank and a valid e-mail. The error message you posted originally suggests that this is where your issue is probably located, too.
I need to send mail to 2 people .. Lets say .primaryEmail , SecondaryEmail.
What logic should i use if incase any 1 is blank.
if both are blank you'll need to skip the node (so if this is ever a possibility it's probably worth checking beforehand); otherwise if one or the other will always be populated but one might be blank, you will just need to ensure that the blank entry is excluded from the array that's returned by your expression logic.
Can you please help me with code " that blank entry is excluded from the array that's returned by the expression logic." Thanks..
Assuming you would always have just "primary email" and "secondary email", you would define an expression rule that accepts both as rule inputs and spits out the result already wrapped in "toEmailAddress()", i.e.
{ if( isnull(ri!primaryEmail), {}, toemailaddress(ri!primaryEmail) ), if( isnull(ri!secondaryEmail), {}, toemailaddress(ri!secondaryEmail) ) }
Thanks a lot
But when am using in my Process Model am getting Error "No valid recipients resolved". If you can hep out
Please share a screenshot of your current recipient configuration within the Send Email node, as well as a screenshot of the data you have in your running instance (so we can verify what the expected output would be)
Its working Mike have forgot to use toemailaddress() function in To field
Have one more doubt related to this. User Needs to enter the data and complete row data needs to be sent. Have created a template and its working fine, If user is entering the value for salary field for first row. But when user is entering the value for salary field in second or later row then am getting the mail with Salary field empty. Though Data is getting saved in database if user is entering the Salary in second or later row.