Figured it out..Turns out that the mail doesnt get sent in the DEV environment.. It works @appspot.com
On May 7, 6:03 pm, praseed <[email protected]> wrote: > Quick note... > > The sender emailid is the primary developer of the Application. I dont > see any options to deem this as the Admin. This is the email , I use > to look at the dashboard etc..,Any clues why the mails dont come thru? > > On May 7, 5:31 pm, praseed <[email protected]> wrote: > > > > > > > Folks , > > > I am a new user. > > > I have an EmailerTaskServlet which manages the send...thusly > > > Properties props = new Properties(); > > Session session = Session.getDefaultInstance(props, null); > > > String msgBody = "blah...blah"; > > > try { > > Message msg = new MimeMessage(session); > > msg.setFrom(new > > InternetAddress("[email protected]")); > > msg.addRecipient(Message.RecipientType.TO, > > new > > InternetAddress("[email protected]", "Mr. User")); > > msg.setSubject("blah blah"); > > msg.setText(msgBody); > > Transport.send(msg); > > Log.info("Email Sent..as requested"); > > > } catch (AddressException e) { > > > } catch (MessagingException e) { > > > } catch (UnsupportedEncodingException e) { > > // TODO Auto-generated catch block > > e.printStackTrace(); > > } > > > This is invoked thru a default task queue... Nothing bad happens...The > > "Email Sent...as requested" log message is logged cleanly. > > > But, I do not receive the emails at the rcpnt accounts.. Do I need to > > do something else to enable Email Service? > > > Thanks > > Strawman > > > -- > > 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 [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine-java?hl=en. > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-appengine-java?hl=en. -- 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 [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-java?hl=en.
