<@U5W5QEZLJ> How you passing -5 into the API ?
# suitescript
a
@reza.seedin How you passing -5 into the API ?
r
Yeah nlapiGetUser().
i'm pretty sure I have done this in the past
a
Schedule script works as admin
r
yeah comes as 'SYSTEM' but how do I get it send out the email, cos I only need to send 1 email
a
do you have any other user which suppose to send out the email
you could hard code that users internal id
instead of using the nlapiGetUser()
r
the thing is the mails get stuck under LIST > Mailing > undelivered emails (sandbox)
a
ok
In sandbox it is different
you have to enable some setting to send out the email
r
do you know what the setting is?
a
setup -> company - > email preference - > email options