Email addresses with < > brackets

Contains tips for configurators working with Aware IM
Post Reply
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Email addresses with < > brackets

Post by tford »

Following are ways to use a TO, CC or BCCs with email addresses that have brackets like: John Doe <[email protected]>. In this case, the name "John Doe" will appear in the email instead of just the email address.

Currently the EmailAddress attribute created by AwareIM is automatically assigned an Input Mask: Email. This input mask will not currently allow brackets to be input.

So, here is an alternative:
1- With EmailAddress attribute:
..a) Make it "calculated"
..b) Remove the Input Mask
..c) Do not show EmailAddress attribute on forms (like: Main or "Change Login Details")

2- Add new attribute: RegularUser.EmailAddressInput
..a) Show this attribute on forms: (like Main and "Change Login Details")
..b) Use "Email" Input Mask on this attribute

3- Add 2 attributes to collect first and last name of Users / Email Recipients:
..a) RegularUser.LoginName_First
..b) RegularUser.LoginName_Last

4- Add a rule: RegularUser.EmailAddress=RegularUser.LoginName_First+' '+RegularUser.LoginName_Last+' <'+RegularUser.EmailAddressInput+'>'

Result: Now a SEND action to RegularUser will show a "real" name instead of just an email address.
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply