Authorized TO Emails |
Post Reply |
Author | |
yapadu
Senior Member Joined: 12 May 2005 Status: Offline Points: 297 |
Post Options
Thanks(0)
Posted: 30 May 2019 at 2:49am |
The GUI indicates you can use RegEx in the Authorized TO Email list. I have in the past used the actual email address and wildcards successfully. I'm trying to implement an entry using RegEx but can't seem to figure it out. I have tried just putting something like this: buyer(+abc)@example.com or this (buyer(+abc)@example.com) But no luck, what is the syntax supposed to be?
|
|
--------------------------------------------------------------
I am a user of SF, not an employee. Use any advice offered at your own risk. |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
I tried using a "simpler" RegEx ("a" followed by a single digit, then @logsat.com):
(a\d@logsat.com) and it worked as expected in the AuthorizedTO whitelist. Are you certain the expression: buyer(+abc)@example.com is a valid RegEx? The "+" should refer to a previous pattern, but it being right after the parenthesis makes me think this is not a valid RegEx expression. |
|
yapadu
Senior Member Joined: 12 May 2005 Status: Offline Points: 297 |
Post Options
Thanks(0)
|
Ok, so it was a user problem. I got it working, was trying to add support for plus addressing. In the end, this appears to do what I want: (user(\+[a-z0-9'&\._-]+)?@example.com) So I can effectively do any of these: user@example.com user+amazon@example.com user+mybank@example.com Thanks for setting me straight. |
|
--------------------------------------------------------------
I am a user of SF, not an employee. Use any advice offered at your own risk. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.155 seconds.