Strange Email Error - Won't send form Automation, but sends from Script Sandbox

I have hit a very strange error when developing an automation. Emails were not going out, so i did all sorts of troubleshooting until I ended up with an automation that JUST sends an email with text, no variables, for subject, body, and toemail. This email sends fine in the script sandbox but throws the following error when triggered via Automation. What am I doing wrong, is this a bug?

UnknownException: Sending email reported failure. (An unexpected error prevented your requested action from completing. The error has been logged for the administrator to review.) ---> System.Exception: Sending email reported failure.
Parents
No Data
Reply
  • Former Member
    0 Former Member in reply to Stephen Vicino

    That appears as if there is no exception, but just failing some check along the way.  There are some checks that if failed, will cause that generic error to be logged.

    • User you are sending email to has no Private Email address or has disabled receiving emails.
    • The process that is executing when the email is being sent has notifications disabled <-- good possibility it may be this, since it works in one automation but not another.
    • Trying to send email to a system account
Children