I have email address "[email protected]" send mail to email address "[email protected]". And i want reply mail to email address "a@gmail" and add more email address "[email protected]". I read google docs and followed but it didn't work. Just only email address "[email protected]" received, email address "[email protected]" have not received the mail. I don't know where I'm wrong ??? Thanks for your interest!
function replyToMutiAddress(){
var thread = GmailApp.getThreadById("16dxxxxxxba6");
var mgs = thread.getMessages()[0];
var option = {
replyTo: "[email protected],[email protected]",
cc: "",
bcc: "",
htmlBody: "[email protected] reply mail to [email protected] and add [email protected]"
}
mgs.reply("",option);
}