Java Mail Error


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Java Mail Error

  1. #1
    Join Date
    Apr 2005
    Posts
    2

    Exclamation Java Mail Error

    Hi,

    Anybody can help me i'm getting error while i'm sending mail through JavaMail.




    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth false

    DEBUG: SMTPTransport trying to connect to host "smra.sancharnet.in", port 25

    DEBUG SMTP RCVD: 220 bgl1mr1-a-fixed.sancharnet.in -- Server ESMTP (*)

    DEBUG: SMTPTransport connected to host "smra.sancharnet.in", port: 25

    DEBUG SMTP SENT: EHLO diamonds
    DEBUG SMTP RCVD: 250-bgl1mr1-a-fixed.sancharnet.in
    250-8BITMIME
    250-PIPELINING
    250-DSN
    250-XDFLG
    250-ENHANCEDSTATUSCODES
    250-HELP
    250-SAML
    250-SEND
    250-SOML
    250-TURN
    250-XCIR
    250-XGEN
    250-XLOOP 0366185F8E4333590F146C4283D586D1
    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN
    250-ETRN
    250-RELAY
    250 SIZE 0

    DEBUG SMTP Found extension "8BITMIME", arg ""
    DEBUG SMTP Found extension "PIPELINING", arg ""
    DEBUG SMTP Found extension "DSN", arg ""
    DEBUG SMTP Found extension "XDFLG", arg ""
    DEBUG SMTP Found extension "ENHANCEDSTATUSCODES", arg ""
    DEBUG SMTP Found extension "HELP", arg ""
    DEBUG SMTP Found extension "SAML", arg ""
    DEBUG SMTP Found extension "SEND", arg ""
    DEBUG SMTP Found extension "SOML", arg ""
    DEBUG SMTP Found extension "TURN", arg ""
    DEBUG SMTP Found extension "XCIR", arg ""
    DEBUG SMTP Found extension "XGEN", arg ""
    DEBUG SMTP Found extension "XLOOP", arg "0366185F8E4333590F146C4283D586D1"
    DEBUG SMTP Found extension "AUTH", arg "LOGIN PLAIN"
    DEBUG SMTP Found extension "AUTH=LOGIN", arg ""
    DEBUG SMTP Found extension "ETRN", arg ""
    DEBUG SMTP Found extension "RELAY", arg ""
    DEBUG SMTP Found extension "SIZE", arg "0"
    DEBUG SMTP: use8bit false
    DEBUG SMTP SENT: MAIL FROM:<nsures@rediffmail.com>
    DEBUG SMTP RCVD: 250 2.5.0 Address Ok.

    DEBUG SMTP SENT: RCPT TO:<nsures@rediffmail.com>
    DEBUG SMTP RCVD: 530 5.7.1 Relaying not allowed: nsures@rediffmail.com

    Invalid Addresses
    nsures@rediffmail.com
    DEBUG SMTPTransport: Sending failed because of invalid destination addresses
    DEBUG SMTP SENT: RSET
    DEBUG SMTP RCVD: 250 2.5.0 Ok.

    DEBUG SMTP SENT: QUIT
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    javax.mail.SendFailedException: 530 5.7.1 Relaying not allowed: nsures@rediffmail.com

  2. #2
    Join Date
    Dec 2005
    Posts
    48

    I think you can download JNetKits for a test

    Which support :
    Ability to send one or more
    Ability to send HTML email
    Support for SMTP server authentication
    Ability to add custom headers
    Ability to send bulk email
    verify eamil address
    http://www.wisesoft.biz/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center