I am using SMTP mail server.
I am sending a mail from SMTP client using Java Mail.
But now i am getting this exception...
Relaying denied. IP name possibly forged
The debug informations given below ....
"DEBUG: setDebug: JavaMail version 1.4.1
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "iem.iitkgp.ernet.in", port 25, isSSL false
220 iem.iitkgp.ernet.in ESMTP Sendmail 8.12.8/8.12.8; Wed, 23 Jul 2008 17:51:36 +0530
DEBUG SMTP: connected to host "iem.iitkgp.ernet.in", port: 25
EHLO pal
250-iem.iitkgp.ernet.in Hello [10.29.33.249], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "SIZE", arg ""
DEBUG SMTP: Found extension "DSN", arg ""
DEBUG SMTP: Found extension "ETRN", arg ""
DEBUG SMTP: Found extension "DELIVERBY", arg ""
DEBUG SMTP: Found extension "HELP", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<erp@iem.iitkgp.ernet.in>
250 2.1.0 <erp@iem.iitkgp.ernet.in>... Sender ok
RCPT TO:<debasis.jana.iit@gmail.com>
550 5.7.1 <debasis.jana.iit@gmail.com>... Relaying denied. IP name lookup failed [10.29.33.249]
DEBUG SMTP: Invalid Addresses
DEBUG SMTP:
debasis.jana.iit@gmail.com
DEBUG SMTP: Sending failed because of invalid destination addresses
RSET
250 2.0.0 Reset state
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 <debasis.jana.iit@gmail.com>... Relaying denied. IP name lookup failed [10.29.33.249]"
Please help me to figure out.