Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

1 Visitor Messages

  1. Hi,
    I am sending mail using email.send() function using mail.jar . I am using a senderEmailIdwhise mail box is not configured ie noreply@***.com. But it is giving following errors:
    org.apache.commons.mail.EmailException: Sending the email to the following server failed
    at org.apache.commons.mail.Email.sendMimeMessage(Emai l.java:1138)
    at org.apache.commons.mail.Email.send(Email.java:1163 )
    at EmailSending.prmMail(EmailSending.java:42)
    at A.main(A.java:7)
    Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated

    at com.sun.mail.smtp.SMTPTransport.issueSendCommand(S MTPTransport.java:1668)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTrans port.java:1207)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTr ansport.java:735)
    at javax.mail.Transport.send0(Transport.java:191)
    at javax.mail.Transport.send(Transport.java:120)
    at org.apache.commons.mail.Email.sendMimeMessage(Emai l.java:1128)
Showing Visitor Messages 1 to 1 of 1
About hashitagarwal

Basic Information

About hashitagarwal
Java Skill Level:
Intermediate

Statistics


Total Posts
Total Posts
3
Posts Per Day
0.00
Visitor Messages
Total Messages
1
Most Recent Message
September 11th, 2012 05:51 AM
Total Thanks
Total Thanks
0
  • Thanked 0 Times in 0 Posts
General Information
Last Activity
October 18th, 2012 03:20 AM
Join Date
September 11th, 2012