Free Customizable Email Verification/OTP

This Is The Kodular Version Of @ct_tricks Guides In Thunkable X

First What You Need To Do Is Go To http://script.google.com/
Then Create A New Project

Then Copy Paste This Code To The Script :

/*

  • Written By : Ct tricks
  • Date : 29/02/2020
  • Contact :
    */

function doPost(e) {
//this function will send emails from your gmail address
var recipient = e.parameters.recipient;
recipient = decodeURI(recipient);
var subject = e.parameters.subject;
subject = decodeURI(subject);
var body = e.parameters.body;
body = decodeURI(body);

//here is the mail app script to send emails from your gmail address to the user’s emails address
MailApp.sendEmail(recipient, subject, body);
}

Or You Can Download It Here Click Here

After That You Need To Deploy It As A Web App


Please Use The Following Configuration Otherwise It Wont Work

Put These Block On Your Kodular Project
Or You Can Download The AIA Here Click Here
You Must Put Your Deployed Web App URL Into The script_URL variable

That’s It Thank You For Visiting This Topic, The Tutorial Video Will Be Coming Soon
And Lastly Please Donate To @ct_tricks For Telling Us About This Method

16 Likes

It not work for me

1 Like

Have You Make Sure The Script URL Is The Same With Your Project. The Script URL Must Be The Same With Your Deployed Web App URL

What I Meant Is When You Deploy The Script As A Web App You Will Get The Web URL
Then Set The Web Component URL In Kodular With Your Google Script Web App URL
And Make Sure The Google Script Web App Has Access To Your Email Or GMail

1 Like

nice work
good job

It Is @help_cttricks Ideas
Im Just The One Who Make The Topic About It So Anyone Could Learn it

1 Like

Now it work :relaxed:

Nope, I’m Not @ct_tricks

Its not working for me.

The Text Alignment Is Not Correct If The Text Alignment Is Not Correct The Code Will Fail Because The Code Is Interpreted Wrong
The Alignment Should Be Exactly Like This Like This:

/*

  • Written By : Ct tricks
  • Date : 29/02/2020
  • Contact :
    */

function doPost(e) {
----//this function will send emails from your gamil address [email protected]
----var recipient = e.parameters.recipient;
----------recipient = decodeURI(recipient);
----var subject = e.parameters.subject;
----------subject = decodeURI(subject);
----var body = e.parameters.body;
----------body = decodeURI(body);

----//here is the mail app acript to send emails from your gmail address to the user’s emails address
----MailApp.sendEmail(recipient, subject, body);
}

This Is ( - ) A Space

1 Like

I have copied and pasted the same as you sent recently

Please find the screenshot.

It gives you that error because you need to deploy it as web app then access it from your app using the code that i alredy provide you. Then put the right email,subject,and body

1 Like

No
Its not working for me.

There You Should Deploy It As Anyone, Even Anonymous. Not Just Anyone

After Deploying Try Again

No
its not working

Please elaborate on what you mean by its not working
What error does it give you?

No errors
I am not receiving the email

please double-check the url

Shall i share my aia

or Can you connect me on anydesk?

I am unable to send you PM

Alright. I just checked your AIA and I can confirm the error is on your side. I have deployed my own script and the email was sent out successfully.