How to send SMS and email to a field in a notification?

Viewed 8

How do I configure a notification so that the SMS and email are sent to an address stored in a field on the related record (for example, the customer's mobile number or email)?


Originally posted at https://answers.namasoft.com/question/184/.

1 Answers

Use the {sendto}...{endsendto} block inside the notification template to specify the recipient field, then put the message body between {msg} and {endmsg}.

SMS template:

{msg}{sendto}{info.mobile}{endsendto} write your message here {endmsg}

Email template:

{msg}{sendto}{info.email}{endsendto} write your message here {endmsg}

Replace info.mobile / info.email with the field path on the entity that holds the recipient's mobile number or email address.


Originally posted at https://answers.namasoft.com/question/184/.