Results 1 to 8 of 8

Thread: Sending a Mail

  1. #1
    haiforhussain is offline Member
    Join Date
    Jun 2008
    Posts
    11
    Rep Power
    0

    Default Sending a Mail

    Hi
    Can anyone plz tel me how to send an email through JAVA code .
    Pls help me out from dis issue...


    Regards
    hussain

  2. #2
    hannehomuth's Avatar
    hannehomuth is offline Member
    Join Date
    Jul 2008
    Location
    Sommerfeld (Brandenburg, Germany)
    Posts
    36
    Rep Power
    0

    Default

    You will need to develop with JavaMail which could be found at the java site.

    And a good tutorial which I used could be found under
    galileocomputing de openbook javainsel7 javainsel_17_012 htm
    This Tutorial is written in German but maybe it will be available in some other language I dont know. But if you look at the sourcecode you will understand. It's not so hard.

    Plz replace the blanks in the links with the right character., I have only 16 posts and that why I could not insert links here.

  3. #3
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Use the package javax.mail
    The JavaMailTM API provides classes that model a mail system.

  4. #4
    hannehomuth's Avatar
    hannehomuth is offline Member
    Join Date
    Jul 2008
    Location
    Sommerfeld (Brandenburg, Germany)
    Posts
    36
    Rep Power
    0

    Default

    Now I have a postcount greater than 20 so here a LINK (wow) to a good example with the javax mail api.

    Java ist auch eine Insel 16.11 E-Mail

    It's in German but you will understand the code, I guess.

  5. #5
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Here's a link to Sun's english version
    javax.mail (JavaMail API documentation)

  6. #6
    hannehomuth's Avatar
    hannehomuth is offline Member
    Join Date
    Jul 2008
    Location
    Sommerfeld (Brandenburg, Germany)
    Posts
    36
    Rep Power
    0

    Default

    Yes the api is in english,clearly. But the example of a class with provides MailSending functionallity with the javax.mail package is in german. I mean the code is java but some description around is german. He will succeed with that I guess.

  7. #7
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    My german is limited to Gutten Morgan, Bitte, and Danke. I found the examples fairly good, but all of mail requires some basic networking skills

  8. #8
    hannehomuth's Avatar
    hannehomuth is offline Member
    Join Date
    Jul 2008
    Location
    Sommerfeld (Brandenburg, Germany)
    Posts
    36
    Rep Power
    0

Similar Threads

  1. Replies: 2
    Last Post: 05-05-2008, 07:01 AM
  2. Sending Mail Using Sockets
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 09:05 PM
  3. Retreiving of mail body using mail number
    By chandu.v09 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 03-13-2008, 03:25 PM
  4. Sending a mail with the local mail program
    By thedude in forum Advanced Java
    Replies: 2
    Last Post: 07-23-2007, 01:19 PM
  5. Sending mail Using JAVAMAIL
    By peiceonly in forum Advanced Java
    Replies: 3
    Last Post: 07-19-2007, 03:11 PM

Posting Permissions

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