how to test email.to condition in dev instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 10:10 PM
i am trying to test an forward type inbound action having condition in the script:
createRequest();
function createRequest() {
if(email.to.toString().toLowerCase().indexOf("ssc-atp@test.com") > -1){
But i am not sure how to test this as i am forwarding mail to this user and not to instance.
i am not getting anything in the email logs as well.
Any guide how to test this scenario...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2017 12:35 AM
I have set up the condition and email getting triggered to respective email id, but still new RITM not getting created and logs are also not printing.
createRequest();
function createRequest() {
gs.log("outside");
if(email.recipients.toLowerCase().indexOf("ssc-atp@test.com") > -1){
gs.log("nsideif)");