We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61df580 commit 69ebafeCopy full SHA for 69ebafe
gmail/sendingEmails/sendingEmails.gs
@@ -57,7 +57,7 @@ function sendEmails2() {
57
var emailAddress = row[0]; // First column
58
var message = row[1]; // Second column
59
var emailSent = row[2]; // Third column
60
- if (emailSent != EMAIL_SENT) { // Prevents sending duplicates
+ if (emailSent !== EMAIL_SENT) { // Prevents sending duplicates
61
var subject = 'Sending emails from a Spreadsheet';
62
MailApp.sendEmail(emailAddress, subject, message);
63
sheet.getRange(startRow + i, 3).setValue(EMAIL_SENT);
0 commit comments