I have seen such issues due to billing not being turned on. Martin
Sent from my iPhone On 3 Nov 2011, at 07:03, dc4ual <[email protected]> wrote: > 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("[email protected]")); > 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 [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. > -- 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.
