×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    193

    send email from j2me through servlet

    hi,
    Is there anyone ,who can give the clean working code of sending an email in j2me through servlets.
    I am really fed up with this.
    I already got some code from this site:
    http://www.java-tips.org/java-me-tip...-mobile-d.html
    But it doesn't work .

  2. #2
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    198

    Re: send email from j2me through servlet

    Quote Originally Posted by jackofall View Post
    working code of sending an email in j2me through servlets
    Java Micro Edition doesn't have servlets. If you want to send email you will have to write a POP (or IMAP) component to communicate with the mail server. It's not that difficult since it's just a series of text based messages, but you may well hit problems with the networks blocking access (almost certainly if you use port 25, you'll have to do your own network by network investigation for port 543).

    Quote Originally Posted by jackofall View Post
    Neither does the URL you posted.

    Hope it helps at least a little!

    - Mike
    NAVTEQ Network for Developers
    The community for developing innovative location-based applications
    http://NN4D.com

  3. #3
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    193

    Re: send email from j2me through servlet

    you didn't get me.
    Actually we can communicate with server using Servlets .
    Just like we can communicate b/w index.jsp and servlet.
    i need to send email from j2me.
    suggestions please!

  4. #4
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    198

    Re: send email from j2me through servlet

    Quote Originally Posted by jackofall View Post
    you didn't get me.
    Actually we can communicate with server using Servlets .
    Just like we can communicate b/w index.jsp and servlet.
    i need to send email from j2me.
    suggestions please!
    OK, I don't get you... what's wrong with the suggestion to write a class that can communicate with a mail server using POP?

    - Mike
    NAVTEQ Network for Developers
    The community for developing innovative location-based applications
    http://NN4D.com

Similar Threads

  1. sending email from j2me
    By jackofall in forum Mobile Java General
    Replies: 5
    Last Post: 2009-03-20, 11:31
  2. Email on j2me
    By mengpek84 in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-04-17, 01:37
  3. Email from J2ME?
    By shanayze in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2004-03-08, 10:03
  4. Replies: 0
    Last Post: 2003-07-21, 11:14
  5. Send MMS by email to AT&T mobile (3650)
    By xijinshen in forum General Messaging
    Replies: 0
    Last Post: 2003-07-02, 19:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×