Is there any way to access the Bounced Email Addre...
# suitescript
j
Is there any way to access the Bounced Email Addresses list through script or saved search? I need to be able to either search it, or remove things from it, through SuiteScript
a
Search type "Undelivered Emails" ?
j
but that includes ones that aren't on the hard bounce list
I'm hoping to be able to identify who is on the list of "don't 'even TRY to send to this address"
a
I see
j
since we get .... no notification when we try to send (I did write a scheduled script for that already) and they stay on for a minimum of 30 days
I keep getting people on my team who are saying "my customers aren't receiving my emails"
am hoping to either have a script to take people off after 72 hours or something, or have a pop-up in the Message window that says "this email isn't going to go through cuz person is on hard bounced list"
a
I am not sure that's possible 😞
m
Wasn't there a setting somewhere to set how many days the email would stay on that list? Not sure, but I think I've seen it somewhere...
j
there is but minimum is 30 days
which is a loooong time
m
got it
j
I can search the Undelivered EMails list but that doesn't tell me if they are on the Hard Bounce list.
it's really unfortunate that there is no feedback to the sender to let them know that NS isn't going to try to send the email.
m
looking into it - there's mostly a workaround to things that are limited by NS - let's see if this is a case
Hmm, this doesn't help 😄
j
😄
I might have to do something hacky like
Copy code
$.get('/app/common/entity/bouncedaddresses.nl', function(response) {
	// Do stuff
})
m
yep, worst case 🙂
a
🙈
j
I know
¯\_(ツ)_/¯
m
Stupid question - how will you remove the ppl from the list? Can't seem to load that record type, right?
j
you don't wanna see all the hacky solutions we already have in place
right now I think the only way is from the Bounced Email Addresses page
that's why I was wondering if there was a way to remove by script.
Currently all we have is a scheduled script that runs every 4 hours, and tells people if any emails they sent were undelivered. But a) that relies on my team to actually read the notification emails and b) by that point they are working on something else
m
I'd actually like it too, so looking into it.
j
we don't even really WANT a hard bounce list at all though I understand why it's implemented like that
m
I'm quite sure the flag is on the employee/contact record... it will be hidden however..
j
yeah that's what I think too
since it shows there with the coloured bar
Copy code
nlapiServerCall('/app/crm/marketing/bouncedemailserver.nl', 'removeBounce', [address]);
hmmm
Copy code
var invalidAddress = nlapiServerCall('/app/crm/marketing/bouncedemailserver.nl', 'getBounceCause', [address]);
sweet I think I can use this
m
cool
j
Just talked to NS, you can do a saved search at least on Entity and filter for Bounced
103 Views