PLSQL based method to capture emails from POP server

10 pts.
Tags:
PL/SQL
POP3
TCP
UTL-TCP
I am using UTL_TCP package of PLSQL. I am able to connect to the POP server but I am unable to retrieve any email content. Using the UTL_TCP.available() method, I am getting the returned number of bytes as Zero inspite of their being an email. I tested the telnet commands againt the POP server & they run perfectly fine ans also I am able to retrieve the emails using Telnet.
ASKED: June 5, 2008  7:21 PM
UPDATED: September 22, 2008  8:28 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hello Monk.
The first thing you should receive after a succesful connection, as you already know, is something like “‘+OK … POP3 … ready”, not email content.

Are you receiving it ?

It would be useful to see your code.

Regards,

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Monk
    [...] Bobkberg DLM2007 Koohiisan Nanopit Monk [...]
    0 pointsBadges:
    report
  • carlosdl
    I tried this a few months after answering this question, and I faced the same problem: 0 bytes when calling UTL_TCP.available(). The reason: I was calling UTL_TCP.available() too early, because I needed to wait for the POP server response to my previous message, before calling the 'available' function.
    65,110 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following