0
내 "불충분 한"질문을 여기에 용서하십시오. 나는 모든 곳에서 수색했으며 해결책을 찾지 못했습니다.Google 양식 - 양식을 제출하면 두 (고유) 이메일이 전송됩니다.
Google 양식 -
두 개의 이메일 주소를 수집하는 양식이 하나 있습니다. 양식을 제출할 때 양식에 입력 된 각 이메일에 "고유 한"응답을 제공해야합니다.
다음은 작업을 "시도하는"코드의 예입니다. (내가 후자의 이메일을 보내야하는 곳)
시간 내 미리 감사드립니다.
올리버
// this would be the first email sent to e.values[3] - the first email on the form
function formSubmitReply(e) {
var userEmail = e.values[3];
MailApp.sendEmail(
userEmail,
"Help Desk Ticket1",
"Thanks for submitting your issue. \n\nWe'll start " +
"working on it as soon as possible. \n\nHelp Desk",
{name:"Help Desk"}
);
}
// this would be the second email sent to e.values[4] - the second email on the form
function formSubmitReply(e) {
var userEmail = e.values[4];
MailApp.sendEmail(
userEmail,
"Help Desk Ticket - FYI form is sent",
"The form a has been submitted. \n\nWe need to start " +
"working on it as soon as possible. \n\nThe Reger Group",
{name:"The Reger Group"}
);
}