has anyone had any issues w/ the email module not sending any emails in a script or maybe like 1 out of the 4 you are sending? Its totally random (SB btw)
e
ec
06/05/2019, 6:02 PM
did you check Bounced Email Addresses and/or Undelivered Email Addresses page? I found recently in one environment (Prod and SB) that filters may have been blocking emails, and emails started bouncing, thereby making it onto both lists
c
creece
06/05/2019, 6:06 PM
i have not. I just went to saving it in the file cabinet for now
This in particular, is relevant to your use: To send important email, for which you need bounceback notifications when the email is not successfully delivered. To do this, set notifySenderOnBounce to true. Note that when this parameter is used, the maximum number of total recipients (recipient + cc + bcc) allowed is 10. In addition, the governance is increased to 20 usage units.
c
creece
06/05/2019, 7:04 PM
I don't write 1.0 code this is 2.0 code which doesn't have that parameter exposed.
e
ec
06/05/2019, 8:34 PM
yea, I actually meant simply to check the list of bounced email addresses (Page:Bouned Email Addresses in Global Search) and always the Undelivered Email page.
m
Michael Pope
06/06/2019, 5:35 PM
@creece You do have that option I think actually. It's the difference between email.send(options) and email.sendBulk(options) . I haven't used much SS 2.0 so I can't confirm, but that's what it's looking like. Then again, I kinda doubt you are using email.sendBulk(options) .