odi 11g, read mail issues in a package...
582491Sep 25 2012 — edited Oct 2 2012Hi,
I am able to send mail using odi send mail object. But i am facing issues with odireadmail. My command looks like this.
OdiReadMail "-MAILHOST=1.1.1.1" "-USER=ab@cd.com" "-PASS=b9yHSR2juhx1nR5MYq6Ddc2ql" "-FOLDER=/app/home" "-PROTOCOL=pop3" "-FOLDER_OPT=NONE" "-KEEP=NO" "-EXTRACT_MSG=YES" "-EXTRACT_ATT=NO" "-MSG_PRF=MSG" "-ATT_PRF=ATT" "-USE_UCASE=NO" "-NOMAIL_ERROR=NO" "-TIMEOUT=0" "-POLLINT=1000" "-MAX_MSG=1" "-SUBJECT=hi" "-SENDER=ab@cd.com"
it is failing with below error.
Caused by: javax.mail.MessagingException: Connect failed;
nested exception is:
java.net.ConnectException: Connection refused
could anybody help me what is the issue with above command.
many thanks in advance.
Thanks
pv