MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: Email parsing



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

Okay, I found CPAN at www.cpan.org (duh) and looked up Email::Valid..
here's the example from the docs:

Let's see if the address 'maurice@hevanet.com' conforms to the RFC822
specification: 

  print (Email::Valid->address('maurice@hevanet.com') ? 'yes' : 'no');

Additionally, let's make sure there's a mail host for it: 

  print (Email::Valid->address( -address => 'maurice@hevanet.com',
                                -mxcheck => 1 ) ? 'yes' : 'no');

Let's see an example of how the address may be modified: 

  $addr = Email::Valid->address('Alfred Neuman <Neuman @ foo.bar>');
  print "$addr\n"; # prints Neuman@foo.bar

So I imagine after putting 'use Email::Valid;' in the top of Minivend's
Order.pm it could be applied very quickly.   I'll post to the list when I
figure it out.


At 01:44 PM 3/25/99 , Thompson-Jordan wrote:
>******    message to minivend-users from "Thompson-Jordan"
<Thompson-Jordan@mindspring.com>     ******
>
>> ******    message to minivend-users from John Foster
>> <jfoster@augustmail.com>     ******
>>
>> Otis Gospodnetic wrote:
>> >
>> > ******    message to minivend-users from "Otis Gospodnetic"
>> <otis@DOMINIS.com>     ******
>> >
>> > I haven't looked at the source, but Mike may consider using
>> Email::Valid
>> > module for checking e-mail addresses.
>> > It works pretty good for me.
>> --------------------STUFF SNIPPED-----------------------------
>> I am very new to MiniVend but this is a feature that I NEED as I want to
>> verify e-Mail addresses as part of my security check prior to accepting
>> payment for my products. Can you please offer some further comment or
>> explanation of the module you refer to? Also do you already have
>> configured for use or integration into MiniVend?
>
>Yes, could you provide an example or usertag?
>
>Christopher Thompson
>
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list
> 

Ryan Hertz                                              tel  520-645-3812
Webmaster                                               tel  800-645-BAIT
Advertising Director                                    fax  520-645-2588
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.com
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: