'Exception: Failed to send email: no subject

It keeps error with code [Exception: Failed to send email: no subject sendEmail @ automated.gs:9]. Im not sure what the error happening here or if I missed out anything.

It does send email to receiver but the email content is empty.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source