dwyl / learn-to-send-email-via-google-script-html-no-server

:email: An Example of using an HTML form (e.g: "Contact Us" on a website) to send Email without a Backend Server (using a Google Script) perfect for static websites that need to collect data.
GNU General Public License v2.0
3.15k stars 910 forks source link

{"result":"error","error":{"message":"\"TO_ADDRESS\" is not defined.","name":"ReferenceError","fileName":"script","lineNumber":56,"stack":"\tat script:56 (doPost)\n"}} #448

Closed SmokeV4 closed 1 year ago

SmokeV4 commented 1 year ago

{"result":"error","error":{"message":"\"TO_ADDRESS\" is not defined.","name":"ReferenceError","fileName":"script","lineNumber":56,"stack":"\tat script:56 (doPost)\n"}}

bledatunay commented 1 year ago

Great issue submission, well done. BTW, it literally tells you what's wrong.

nelsonic commented 1 year ago

Hi @SmokeV4, 👋 as @bledatunay suggests, this should be pretty straightforward to resolve based on the error you're seeing. Closing as this is not an issue with the code in this repo. Define your TO_ADDRESS and try again. 👍