I have code that sends out email, but it also sends the "From" email a copy.
Can i shut this off? Here is the code.
Message msg = new MimeMessage(session);
msg.setFrom(new InternetAddress("[email protected]", "Get That Gift
Robot"));
msg.setSubject("Subject");
msg.setContent(body.toString(), "text/html");
for (int a=0;a<emails.length;a++) {
msg.setRecipient(Message.RecipientType.TO, new InternetAddress(emails[a],
"Our Friend"));
Transport.send(msg);
}
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/lOMjqaK6rSUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.