Results 1 to 4 of 4
  1. #1
    peiceonly is offline Member
    Join Date
    Mar 2007
    Rep Power

    Default Sending mail Using JAVAMAIL

    Im trying to send a mail which is failed so many times . Can some body show me with some examples of sending mail using java.
    Can that be achieved without authentication ?

  2. #2
    orchid's Avatar
    orchid is offline Member
    Join Date
    Apr 2007
    Rep Power


    You do not need to authenticate if you can find an open mail relay server.
    There is a lot of info if you google javamail. here is one spot.
    JavaMail quick start - Java World
    I have only used mail with the Spring Framework and is simple as pie.
    good luck.

  3. #3
    levent Guest


    Hi peiceonly,

    Check these examples.. "Connecting GMail using POP3 connection with SSL" was working when i tested it. Others should work too if you configure Java Mail properly.

  4. #4
    shameel is offline Member
    Join Date
    Jul 2007
    Rep Power


    Yo dont need authentication normally, pls check my previous post about the same topic.i attached a zip file with that,it is explaining very clearly..


Similar Threads

  1. Javamail
    By v_mallikarjun in forum Advanced Java
    Replies: 14
    Last Post: 04-18-2008, 08:32 PM
  2. Sending Mail Using Sockets
    By Java Tip in forum
    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. Using JavaMail API
    By consult4u in forum Networking
    Replies: 0
    Last Post: 08-09-2007, 11:15 AM
  5. Sending a mail with the local mail program
    By thedude in forum Advanced Java
    Replies: 2
    Last Post: 07-23-2007, 01:19 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