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("validsende...@gmail.com"));
            msg.addRecipient(Message.RecipientType.TO,
                             new
InternetAddress("validrc...@yahoo.com", "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 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.

Reply via email to