http://www.perlmonks.org?node_id=549257


in reply to Re^2: I need a simple web form processor that will work with "POP before SMTP".
in thread I need a simple web form processor that will work with "POP before SMTP".

Use your existing form processor, but add a couple of lines to connect to your POP server (using Net::POP3) before the call to SMTP.
  • Comment on Re^3: I need a simple web form processor that will work with "POP before SMTP".

Replies are listed 'Best First'.
Re^4: I need a simple web form processor that will work with "POP before SMTP".
by Lyla (Initiate) on May 13, 2006 at 19:55 UTC
    Yes, that would work. I'm not much of a coder, can you give me a snip?
      According to the document to which we've already linked:
      use Net::POP3; my $pop = Net::POP3->new($host); $pop->login($username, $password) or warn("Unable to connect to POP server. " ."Attempting to connect to SMTP server anyway\n");