Documente Academic
Documente Profesional
Documente Cultură
if (optionalEmail != "")
{ email = email + "," + optionalEmail;}
if (values[i][3].toString() == curDate.toString())
{
// add a message for this row if date matches
message = message + values[i][0] + " is due on the " + values[i][1] + "<br
/>\n";
if (anyMatches)
{ // send an email
MailApp.sendEmail({
to: email,
subject: 'Tiller Bill Pay Reminder',
htmlBody: message});
}