Results 1 to 2 of 2
  1. #1
    sridaran is offline Member
    Join Date
    Dec 2010
    Posts
    5
    Rep Power
    0

    Default Problem in Mail Sending

    I am getting the following error while sending mails using java. Actually this is a tool which dispatches multiple mails at a time. I installed this tool in Linux. What I need to do inorder to make this mail function work in Java. I am new to Java and Linux. Can anyone help me?

    Exception(s) encounterd while SMTP Dispathces for MailShot '110125_sample1'
    1 Fatal/UNHANLDED Exception: null
    java.lang.NullPointerException
    at com.attract.imail3.javasmtp.SMTPThread.run(SMTPThr ead.java:172)
    at java.lang.Thread.run(Thread.java:595)


    R.Sridaran

  2. #2
    baloda is offline Member
    Join Date
    Nov 2010
    Location
    New Delhi
    Posts
    50
    Rep Power
    0

    Default

    here is the complete example
    but to work with it will need javax.mail to be installed in your environment

    Java Examples

    hope this will help u!

Similar Threads

  1. Problem while sending a java mail
    By dushyant1244 in forum Advanced Java
    Replies: 15
    Last Post: 03-15-2013, 11:37 PM
  2. Replies: 1
    Last Post: 11-17-2010, 06:48 AM
  3. problem with sending mail usin javaX.mail api
    By sandeepsai39 in forum New To Java
    Replies: 4
    Last Post: 11-25-2009, 06:37 AM
  4. Problem in sending mail from java
    By npoorni in forum Advanced Java
    Replies: 1
    Last Post: 06-30-2009, 05:09 PM
  5. Facing problem while sending e-mail
    By jay8186 in forum Java Servlet
    Replies: 1
    Last Post: 03-25-2009, 08:34 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
  •