Add additional addresses to your XpressDox email template
When using the SaveAsEmail function in your XpressDox template, additional addressees can be added to the email. This command can also be used conditionally, so the user can decide at the time of running the template if additional “To” addresses need to be supplied.
Examples of usage:
«Comment(add one additional "To" address when saving an XpressDox template as an email)»
«AddToAddress(To)»
«SaveAsEmail(Email_To,'Letter')»
«Comment(add multiple "To" addresses in a ForEach)»
«ForEach(ToAdd)»
«AddToAddress(To)»
«End()»
«CaptureInGrid(ToAdd,Yes)»
«SaveAsEmail(Email_To,'Letter')»
Sequence of fields on the XpressDox interview:
Note how the AddToAddress function appears before SaveAsEmail. This is an important sequence. However it does mean that the fields on your interview will appear in a less than ideal sequence, but you can use the Interview Manager to drag fields to new positions on the interview.