Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Google apps script to send two custom HTML messages to anyone automatically.

NotificationsYou must be signed in to change notification settings

john0isaac/Google-Apps-Script-Send-Custom-Emails

Repository files navigation

Using Google apps script on a google sheet to send two custom html messages to anyone automatically.

Overview:

Google Sheets Image

HTML Templates

This repo contains two html templates you can change whatever you want in them but to ease the process I created a JSON object Named changes which contains what you need to change per email.

  • Welcome EmailWelcome Email Screenshot
  • Feedback EmailFeedback Email Screenshot

Steps

Step 1

  • OpenGoogle Drive
  • Create a new Google Sheet
  • Name it whatever you wantStep 1 Screenshot

Step 2

  • Inside your spreadsheet
  • Add two columns Name, Email
  • Add your first name and email to try this script
  • Open the Script editor from the navigation menu
  • Tools -> Script editorStep 2 Screenshot

Step 3

  • Inside your Script editor
  • Replace all the code in Code.gs with the code inCode.gs
  • Save the Script
  • Name it whatever you wantStep 3 Screenshot

Step 4

  • Inside your Script editor
  • Create two HTML files from File -> New -> HTML file
  • Name the first one Welcome-Email
  • Name the second one Feedback-Email
  • Replace all the code in Welcome-Email.html with the code inWeclome-Email.html
  • Replace all the code in Feedback-Email.html with the code inFeedback-Email.html
  • Save both filesStep 4 Screenshot

Step 5

  • Inside your Script editor
  • Go to Code.gs
  • Adjust your range "A2:B2"
  • Write your chapter's Name
  • Write the number of the event
  • Write the day of the event
  • Write the time of the event
  • Place your event's link
  • Place your chapter's Website link
  • Write the Powered by phrase
  • Change the Subject of the Email to be sent
  • Save the fileStep 5 Screenshot

Step 6

  • Inside your Script editor
  • Choose the Function you want to run
  • Press Play button
  • Authinticate it and you are ready to go
  • Check your email to find the output of what you have just doneStep 6 ScreenshotStep 6 Screenshot

Each time you only need to add the emails and names to your spreadsheet then repeatStep 5,Step 6.

Learning

This repository contains aLEARN.md which users can learn and understand how the project works.

Through this, users can even potentially move on to contributing and improving the project.

Contribution

How tocontribute to the project?

While contributing, it must be necessary that each contributor keeps in mind theCode Of Conduct.

This repository is open for everyone to contribute and is maintained byJohn Aziz.

About

Google apps script to send two custom HTML messages to anyone automatically.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp