Hi,

Application id:   fareguglytestenv.appspot.com
Custom domain: www.goglytrip.com

I have linked my domain goglytrip.com to google apps and modified CNAME and
MX records as suggested on docs.

I created one email id [email protected] as an administrator to the domain
goglytrip.com.
Email is working seperately and my app is running on www.goglytrip.com.
Everything fine.

But Sending email through app is not working. Here is my code,

private static final Logger log =
Logger.getLogger(GwtRpcServiceImpl.class.getName());
Properties props = new Properties();
Session session = Session.getDefaultInstance(props, null);

MimeMessage message = new MimeMessage(session);

message.setSender(new InternetAddress("[email protected]", "Goglytrip
admin"));
message.setSubject(subject);
message.setContent(body, "text/plain");
                        message.setRecipients(Message.RecipientType.TO, new
InternetAddress("[email protected]"));

                        Transport.send(message);
                        log.info("Mail sent");

What is wrong here that email is not being sent to the address. The log
records doesnt show any error as well.
But the last log statement is also not printend.

Anyone pls suggest.

Thanks
Deepak

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
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?hl=en.

Reply via email to