So this might be a SuiteScript question, not sure....
# general
j
So this might be a SuiteScript question, not sure. I’m sending an email from a afterSubmit UserEvent. Every once in a while, despite there being no error, and the email being able to be viewed via
/app/crm/common/crmmessage.nl?id=<message_id>
, the message does NOT appear on the
Sent Email
page (
app/email/sentemaillist.nl
) and the recipient does not receive the email. Has anyone encountered this before? I’m creating the email with
render.mergeEmail()
and I’m sending it with
email.send()
, though I’m not attaching it to the record (as we don’t need to see it in the Communications tab). Note that almost always the email DOES send properly, and appears in the Sent Email page. I just don’t understand how an email message record can be correctly created and visible via the
/app/crm/common/crmmessage.nl?id=<message_id>
link but not show anywhere else in NS.
k
Any hard bounces on recipients?
j
nope, it’s a staff member
k
Is it sending a large number of emails on short window? More than ~13/min?
If so, do you have dkim AND dmarc configured?
j
definitely not a volume issue. Just one offs here and there. Basically we have our own bespoke “this case was assigned to you” email that we send via script IFF certain conditions are met. They are sent from one employee to another (the current user to the assignee). Every once in a while, we get the above glitch, it would appear. People are kvetching at me that they “didn’t get the notice that they were assigned the case”. My question is more general though, how would an email message exist in the NS database but not appear in Sent Emails list. Presumably this indicates that the “message” record is separate from the actual “email sent to person from person” record.
I’d like to know what part of the database the Sent Emails list is pulling from…might help debug this