Learn-to-send-email-via-google-script-html-no-server: doGet - Step 8

Created on 26 Jun 2018  路  3Comments  路  Source: dwyl/learn-to-send-email-via-google-script-html-no-server

I followed all the steps but when I send the email at the step 8 try to check the mail confimation:

https://script.google.com/macros/s/AKfycbxO_WbJ677KI2dnDulOfy33EM27CL2iooHi53CAxENvKtihK0cI/exec

I get this doGet error

Thnaks

Most helpful comment

You cannot access the published URL directly. It must be sent a POST request through an html form.

All 3 comments

You cannot access the published URL directly. It must be sent a POST request through an html form.

did that make sense there, @joseroma ? that URL goes into the form's HTML not to be clicked directly. going to the URL is a GET request rather than a POST request which the script expects.

Yes, finally, I got it,, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

austinjupiter picture austinjupiter  路  3Comments

JintaYadomi picture JintaYadomi  路  3Comments

mckennapsean picture mckennapsean  路  3Comments

sidbatra picture sidbatra  路  4Comments

ThomasSalty picture ThomasSalty  路  4Comments