
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 03-12-2021 12:39 PM
ERROR:
Are you getting error "System address filter excluded email addresses (Illegal semicolon, not in group):"?
SOLUTION:
Take off ";" semicolon character TO "," comma
Sometimes it has some strange characters that you can debug using some convert to ascii ike OnlineStringTools.
In my alzy work i replace using while instead the update all
var gr = new GlideRecord("u_my_own_table");
//gr.addQuery("u_email", "CONTAINS", "\n"); //Enter
//gr.addQuery("u_email", "CONTAINS", " "); //Space
gr.query();
while (gr.next()) {
var tmp = gr.u_email;
var tmp2 = gr.u_email.replaceAll(" ", "").replaceAll(";",",").replaceAll("\n", "");
gs.log(gr.sys_id + " + u_email + "# " + tmp2);
gr.u_email.setValue(tmp2);
gr.update();
}
How my team was working with sending mail coding, in this case that we get this issue was doing in a button using a script include, however, how to reproduce:
Step 1 : Register Event
Step 2 : Fire event
Step 3 : Create email notification
----------------- Event Creation Process (Now Learning) -----------------
1. Register the Event
2. Create a queue (optional)
3. Create a script to generate the Event
4. Create a script to respond to the Event
- 1,397 Views