@kavkosher
e.parameter הוא אובייקט של הquery set ודרכו אתה יכול לגשת לפרמטרים בurl
@kavkosher כתב בבעיה | שליחת מייל בphp דרך gmail:
ב. כיצד אני מצרף קובץ למייל בין מ url ובין מדרייב מה שיותר קל
(לא קישור אלא את הקובץ עצמו)
// Send an email with a file from Google Drive attached as a PDF.
const file = DriveApp.getFileById('1234567890abcdefghijklmnopqrstuvwxyz');
GmailApp.sendEmail('mike@example.com', 'Attachment example', 'Please see the attached file.', {
attachments: [file.getAs(MimeType.PDF)],
name: 'Automatic Emailer Script'
});