Results 1 to 5 of 5

Thread: email client

  1. #1
    gvpproject is offline Member
    Join Date
    Dec 2009
    Posts
    3
    Rep Power
    0

    Default email client

    I have downloaded java mail client program class files forım the page at this link Java Tips - How to create an e-mail client in Java . And I downloaded Javamail api. I compiled the files and run the program . I modified them to get connected to gmail and able to access its mails but the problem is i am unable to send mail through this. can you please tell me where is the problem.Thanks in advance.

  2. #2
    abollm is offline Member
    Join Date
    Jan 2010
    Location
    D-Munich
    Posts
    7
    Rep Power
    0

    Default

    Do you have a particular code snippet or/and an error message (stack trace!) or something else?

  3. #3
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    366
    Rep Power
    6

    Default

    Have you configured SMTP?

    You need to find out which one do you use,
    when you created mail account your ISP gave you params for SMTP
    that you have to put in your code (with or without username and password):


    ....
    Java Code:
     Properties props = System.getProperties();
            
             /*smtp host: smtp.sbb.rs*/
             props.put("mail.smtp.host","smtp.my_Internet_Service_provider.com");
             
     Session session = Session.getDefaultInstance(props);
    ...

    regards

  4. #4
    sniffer139 is offline Member
    Join Date
    Feb 2010
    Posts
    19
    Rep Power
    0

    Default

    dude i am also doing the same project ..an u pls mail me th e project.its very urgent...........and on which concept have u done the project..............my mail id is sniffer139@gmail.com
    SNIFFER

  5. #5
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    366
    Rep Power
    6

    Default

    There are many examples on this forums for this topic
    use Search

Similar Threads

  1. Open source Email client (Desktop Based)
    By success21061985 in forum Advanced Java
    Replies: 1
    Last Post: 01-18-2009, 08:00 PM
  2. send email using apache commons email
    By jnamendi in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 10-14-2008, 06:55 PM
  3. Identify Client in Socket Client Server Application
    By masadjie in forum Networking
    Replies: 1
    Last Post: 12-20-2007, 10:18 AM
  4. Access Email usind a java mail client Access Email usind a java mail client
    By consult4u in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 07-31-2007, 09:29 AM

Posting Permissions

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