Hello, If you don't have billing turned on the chances are it will fail!
Martin Sent from my iPhone On 20 Oct 2011, at 05:23, Leandro Rezende <[email protected]> wrote: > I have Two applications with the same Code, the same onwer in the same > google account. > One of them the emails are sent, in the other it fails and i receive > this exception msg " MailService IO failed (java.io.IOException: > Internal error)" > > this is the code > > String SMTP_AUTH_USER ="[email protected]"; > Properties props = new Properties(); > > Session session = Session.getDefaultInstance(props, null); > try > { > Message msg = new MimeMessage(session); > msg.setFrom(new InternetAddress(SMTP_AUTH_USER, "Admin")); > msg.addRecipient(Message.RecipientType.TO,new > InternetAddress("[email protected]","User Name")); > msg.setSubject(titulo); > msg.setContent(texto, "text/html"); > Transport.send(msg); > } > catch (Exception e) > { > System.err.println(e.getMessage()); > } > > does anyone have any idea why this is happening? > > -- > 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.
