in reply to Re: Perl Programs that can retrieve email addresses from web pages
in thread Reaped: Perl Programs that can retrieve email addresses from web pages

Guess next time I ask a question I'll do it anonymously. This is what a client asked us to do for people who ordered something from there web site. And only those people, thanks for the, um, suggestions on what to do and not to do. I probably should've mentioned that this was for a client before but I was short on time. Thanks again and I'll let my company know the response I got and we'll talk to the client on how to approach this and see if they still want to do it.
  • Comment on Re: Re: Perl Programs that can retrieve email addresses from web pages

Replies are listed 'Best First'.
Re: Re: Re: Perl Programs that can retrieve email addresses from web pages
by ichimunki (Priest) on Jan 04, 2001 at 22:18 UTC
    This still sounds like it might be a clunky solution to whatever the root problem is. What I would have like to have seen in the original question is more specificity about the requirements. Because most of the information was actually in the title of the question, we were left to assume the details of the requirements for ourselves.

    If someone is ordering something via your client's website, you do not need to use any page scrapers or anything else. Simply add a field for e-mail address and an opt-out checkbox to a form during the order process. Salvadors' link below looks to be a good way to validate the email addresses. Store the valid addresses in your customer records along with the other customer data.

Re: Re: Re: Perl Programs that can retrieve email addresses from web pages
by strredwolf (Chaplain) on Jan 04, 2001 at 19:31 UTC
    Ahh, to the meat of the problem. Definetly, scanning is bad.

    However, if your handling the ordering for the client, and they want an e-mail list, you may want to put in code to confirm those e-mails for the list itself. I have some code which I can post (it's in Perl) which can do that. I just have to remove some proprietary items, make it generic.

    Also, always include the option for signing up for the list default it to "No, I don't want to sign up". You'll get a lot less complaints that way.

    MAPS pushes these ideas, but they've been formed out of consensus by many sysadmins while being flooded with mail durring the CyberPromo "era."

    --
    $Stalag99{"URL"}="http://stalag99.keenspace.com";

      Thanks I still have to talk it over with my company but I'll left you know and see if I can take a look at it. Thanks again