Hi, I tested the source code that you had contributed. It seems to operate normally.
I think that the setting or the environment in the mail address is a cause. Follow this thread: http://groups.google.com/group/google-appengine/browse_thread/thread/fdfdafa51ef140fc/97d7c0492c2270bb?lnk=gst&q=seleronm#97d7c0492c2270bb Please Try. thanks. On 12月24日, 午後4:34, venkat satyanarayana <nidadavolu.ven...@gmail.com> wrote: > Hi , i ma tring to send mail with google app engine with java > > my code : > > Properties props = new Properties(); > Session session = Session.getDefaultInstance(props, null); > > String msgBody = "test"; > > try { > Message msg = new MimeMessage(session); > try { > msg.setFrom(new > InternetAddress("nidadavolu.ven...@gmail.com", > "Example.com Admin")); > } catch (UnsupportedEncodingException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > try { > msg.addRecipient(Message.RecipientType.TO, > new > InternetAddress("nidadavolu.ven...@gmail.com > ", "Mr. User")); > } catch (UnsupportedEncodingException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > msg.setSubject("Your Example.com account has been > activated"); > msg.setText(msgBody); > Transport.send(msg); > > } catch (AddressException e) { > // ... > } catch (MessagingException e) { > // ... > } > > but i didn't get any error , but we are not receaving mail > > thanks -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.