With suitelet's external url unable to send mail

576 Views Asked by At

We have an issue here. I don't know its by design or an issue that I'm only facing here. Its pretty strange that the same User Event is executing fine while I'm modifying a record through Suitelet's internal url but if I switched to external url its not working. Any guess why this is happening ?

3

There are 3 best solutions below

2
On

Permission maybe? Under what role are you running the suitelet?

0
On

I got one solution for that i am calling restlet with suitelet to invoke user event. wrote some code in restlet like update fields on record type. and user event will trigger. and write mail logic in user event so mail will be sent.

1
On

Security Reasons, if your Suitelet is available without login or as you've mentioned accessible by "External URL" that means the it can be accessed by anyone that doesn't have an access to your NetSuite account. Having said that, do you want to send an email triggered by a user whom you don't know? I guess not.