in reply to Re^3: Mail::POP3Client email server to use
in thread Mail::POP3Client email server to use

Thanks again for the suggestions. I changed the loop, but I still can't connect. That email address is set up specifically for this task. Has anyone gotten this code to work with a gmail account? What opeating system are you using? Is anyone able to read my particular email (using the username and password I wrote above) using this code? Also, I added the DEBUG => 1 to the code and it didn't do anything different. What is supposed to happen? I have a feeling something is going wrong with the connection but I'm not sure how to see what. Thanks again, Austin
  • Comment on Re^4: Mail::POP3Client email server to use

Replies are listed 'Best First'.
Re^5: Mail::POP3Client email server to use
by socketdave (Curate) on Jul 15, 2005 at 16:59 UTC
    I think what you really want to do is connect, grab all of the messages, determine if the message you're looking for is there and do something based on that. Is this correct? Do you want the script to continually reconnect and retry if it doesn't find what it's looking for? If so, do you want to to keep trying after it's foud it's first match?
      Yeah that's what I want to do. Fortunately, I figured out that I need to set USESSL=>1 and download some additional modules (IO::Socket::SSL, Net_SSLeay, OpenSSL) to get this working. Thanks for all the help! Austin