Hi, I have my application hosted in App Engine. It was running fine but suddenly I started getting IO Exception while sending mail
Here is the code I am using for sending the mail: public void postMail(String recipient, String subject, String message) throws Exception { Properties props = new Properties(); Session session = Session.getDefaultInstance(props, null); Message msg = new MimeMessage(session); msg.setSentDate(new Date()); log.severe("mail sending to: " + recipient); msg.setFrom(new InternetAddress("xxxx...@gmail.com")); msg.setRecipient(Message.RecipientType.TO, new InternetAddress(recipient)); msg.setSubject(subject); msg.setContent(message, "text/plain"); Transport.send(msg); } Please tell me where I am wrong. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.