Jin
Jin

Reputation: 932

Create SuiteCommerce Page sending email in NetSuite

I want to build form sending email.

As you know there is no sending email function in javascript. But in SuiteScript there is nlapiSendEmail function.

Can I use this function in this page?

Upvotes: 0

Views: 88

Answers (1)

George Harrington
George Harrington

Reputation: 49

You will need to create a Service and Model file and call them from your client side code. These files are run server-side so you can use nlapiSendEmail.

Upvotes: 0

Related Questions