Hi,
Thanks for your reply.But i can not get any error or mail ,even i set
that favicon.

please,help me.

On Feb 12, 12:12 am, "Ikai L (Google)" <ika...@google.com> wrote:
> That's just your browser trying to get a favicon from your site:
>
> http://en.wikipedia.org/wiki/Favicon
>
> <http://en.wikipedia.org/wiki/Favicon>Create one and put it in your app
> where it is accessible athttp://yourappid.appspot.com/favicon.ico
>
>
>
>
>
> On Thu, Feb 11, 2010 at 4:32 AM, Sowji <sowji.ap...@gmail.com> wrote:
> > Hi, i am trying to send a mail with google app engine wuth java.
>
> > My code is,
>
> >       Properties props =
> > *new* Properties();
>
> >         props.put(
> > "mail.smtp.host","smtp.gmail.com");
>
> >         props.put(
> > "mail.smtp.username","sowji.apr10");
>
> >         props.put(
> > "mail.smtp.PASSWORD","smtp.gmail.com");
>
> >           Session session = Session.*getDefaultInstance*(props,
> > *null*);
>
> >         String msgBody =
> > "Hai this is my first mail through java programming";
>
> > *        try* {
>
> >                     Message msg=
> > *new* MimeMessage(session);
>
> >                     msg.setText(
> > "hai......."+msgBody);
>
> >                     msg.setSubject(
> > "First Message from java");
>
> >                     msg.setFrom(
> > *new* InternetAddress(myown <my...@gmail.com>@gmail.com));
>
> >                     msg.setRecipient(Message.RecipientType.
> > *TO*,*new* InternetAddress("my...@gmail.com"));
>
> >                     Transport.*send*(msg);
>
> >                     PrintWriter pw=resp.getWriter();
>
> >                     pw.println(
> > "<html></body>mail is seding.......</body></html>");
>
> >             }
>
> > *        catch*(AddressException adde){
>
> >                     //   System.
> > *out*.print("error in address");
>
> >                 }
>
> > *        catch*(MessagingException mse){
>
> >                        // System.
> > *out*.print("error in messaging");
>
> >                 }
> >   For this code i did not get any mail or any errors  as reply.
>
> >  My console print warning like this,
>
> > The server is running athttp://localhost:3624/
>
> > Feb 11, 2010 12:22:58 PM
> > com.google.appengine.tools.development.LocalResourceFileServlet doGet
>
> > WARNING: No file found for: /favicon.ico
>
> > Feb 11, 2010 12:23:00 PM
> > com.google.appengine.tools.development.LocalResourceFileServlet doGet
>
> > WARNING: No file found for: /favicon.ico
>
> >  Please help me to solve this problem.
>
> > Thanks,
>
> > Lakshmi.
>
> > --
> > 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<google-appengine-java%2b­unsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App 
> Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine- Hide 
> quoted text -
>
> - Show quoted text -

-- 
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