Hi,
I have linked my domain
goglytrip.com to google apps and modified CNAME and MX records as suggested on docs.
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.setSubject(subject);
message.setContent(body, "text/plain");
Transport.send(message);
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