-
Notifications
You must be signed in to change notification settings - Fork 2k
Updated to ES6 #240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Updated to ES6 #240
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
29398ff
update gmail.gs
Priyankarp24 0fe59b3
Update gmail quickstart.gs
Priyankarp24 3ff6305
Update Markup Code.gs
Priyankarp24 aacedce
update sendEmail.gs
Priyankarp24 408d87f
Merge pull request #1 from Priyankarp24/priyanka-patch
RajeshGovo c702d84
Updated gmail sendEmail.gs
Priyankarp24 079c705
Update quickstart.gs
Priyankarp24 46e2bea
Update mail_template.html
Priyankarp24 9ad36e3
Update Code.gs
Priyankarp24 a9eb750
Update quickstart.gs
Priyankarp24 d2d351f
Update sendEmails.gs file
Priyankarp24 025e1d5
Update quickstart.gs file
Priyankarp24 73c7f28
Update Markup code.gs file
Priyankarp24 37e9a61
Update drive quickstart
Priyankarp24 a7835e8
use for-of loop
Priyankarp24 3f103bf
Merge pull request #3 from Priyankarp24/priyanka-patch
RajeshGovo 459602e
Update advanced gmail.gs file
Priyankarp24 381444c
Merge branch 'RajeshGogo:priyanka-patch' into priyanka-patch
Priyankarp24 7e2fd2f
Added try catch drive quickstart.gs
Priyankarp24 fcdcf19
Added try-catch in gmail quickstart.gs
Priyankarp24 7a92089
Merge pull request #4 from Priyankarp24/priyanka-patch
RajeshGovo 015e975
Merge pull request #5 from Priyankarp24/priyanka-patch
RajeshGovo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,19 @@ | ||
| // [START apps_script_gmail_markup] | ||
| // [START gmail_send_email_with_markup] | ||
| /** | ||
| * Tests the schema. | ||
| * Send an email with schemas in order to test email markup. | ||
| */ | ||
| function testSchemas() { | ||
| var htmlBody = HtmlService.createHtmlOutputFromFile('mail_template').getContent(); | ||
| try{ | ||
| const htmlBody = HtmlService.createHtmlOutputFromFile('mail_template').getContent(); | ||
|
|
||
| MailApp.sendEmail({ | ||
| to: Session.getActiveUser().getEmail(), | ||
| subject: 'Test Email markup - ' + new Date(), | ||
| htmlBody: htmlBody, | ||
| }); | ||
| MailApp.sendEmail({ | ||
| to: Session.getActiveUser().getEmail(), | ||
| subject: 'Test Email markup - ' + new Date(), | ||
| htmlBody: htmlBody, | ||
| }); | ||
| } | ||
| catch(err){ | ||
| Logger.log(err) | ||
| } | ||
| } | ||
| // [END apps_script_gmail_markup] | ||
| // [END gmail_send_email_with_markup] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.