Skip to main content
September 28, 2022
Solved

Send-Email process model smart object do not send email to recipient that are not already Appian User

  • September 28, 2022
  • 6 replies
  • 0 views

Hello,

I'm trying to send an Email from a process model, but when putting in the "TO" recipient an email address not related to an user registered in my environment, it does not send it.

I do not give any error, just do not send it to such recipient:

as you maybe can see from the screenshot, when monitoring the process there is not any error, but no "ToValidAddresses" is registered.

Instead, if I put my Appian Account email in the "TO" field, this became filled and I can receive the email.

Any idea about this behaviour?

Thanks a lot

Best answer by csteward

I believe this where the conversion from text to email address type fails, try wrapping your email address with:  toemailaddress()

6 replies

stefanhelzle0001
Brainy
September 28, 2022

Use this function to turn your email address string into a real email address.

https://docs.appian.com/suite/help/22.3/fnc_conversion_toemailaddress.html

csteward
cstewardAnswer
September 28, 2022

I believe this where the conversion from text to email address type fails, try wrapping your email address with:  toemailaddress()

September 30, 2022

It worked perfectly, thanks a lot

dimitriss5700
September 28, 2022

Moreover, you can store the email address in a constant value of type "Email Address"  that you can create and set as a value to the email "To" field.

Participating Frequently
September 28, 2022

Yes but I don't suggest this  we can  but sometimes we take email as a input and email process is generic most of the times.

dimitriss5700
September 28, 2022

Sure, this option applies mostly when you have a fixed email address. When the email address is not known and it's stored in a pv then toemailaddress() funtion is the best option.