×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    47

    how to send mail in j2me without using servlet or any mail api?

    hi

    i am newbie to j2me and want to know how to send mail without using servlet,as i have tried mail4me lib but i got error no class found.
    so cananyone suggest me which is the best way to send mail though mobile app.

    thankx

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: how to send mail in j2me without using servlet or any mail api?

    Open a TCP/IP socket to an SMTP server and proceed fromt here.

    The SMTP protocol spec is very simple, but you do need have an SMTP server you can connect to reliably (from any network where your app is going to be used).

    You can find SMTP and related specifications (RFCs, Requests For Comments) from http://www.ietf.org

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105

    Re: how to send mail in j2me without using servlet or any mail api?

    What about fixing that ClassNotFoundException?

  4. #4
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,100

    Re: how to send mail in j2me without using servlet or any mail api?

    Hi there,

    At least this is a fact with MIDlets: every class or resource that your MIDlet will access must be bundled together into the single JAR file.

    If this does not happen, then the error will most likely be produced.

    Please check this document, it should provide a quite comprehensive view to what it does mean in practise:

    http://eclipseme.org/docs/advJarFiles.html

    Hope this helps!

    Best Regads,
    Marko
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

Similar Threads

  1. send mail from j2me application
    By kavitha@i-waves.com in forum Mobile Java Networking & Messaging & Security
    Replies: 18
    Last Post: 2011-02-22, 10:52
  2. send mail from j2me device
    By kavitha@i-waves.com in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2010-09-07, 10:33
  3. Replies: 3
    Last Post: 2010-03-11, 14:30
  4. Replies: 1
    Last Post: 2005-12-15, 16:59
  5. Basic Mail configuration Mail-IAP-Name
    By Jorrti in forum Smart Messaging
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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