Why Unexpected error is occurred when email is send to a employee using Suite script

Unexpected error is mainly occurred due to two reasons.

  1. Email field in employee record was empty
  2. In email.send session, the value in body has null or empty

Leave a comment

Your email address will not be published. Required fields are marked *