[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Verifying email addresses



You can use Net::SMTP to do a manual check. A sample transcript would be:

220 remote.domain.com ESMTP Service ready
HELO my.domain.com
250 remote.domain.com hello my.domain.com
MAIL FROM: <anybody@anyhost>
250 Sender OK
RCPT TO: <nobody@remote.domain.com>
550 User nobody@remote.domain.com not known
RCPT TO: <somebody@remote.domain.com>
250 User aksuska@ remote.domain.com known
QUIT
221 remote.domain.com closing connection

You will get greater efficiency by checking all accounts for a particular
domain at the same time as I show above.

-K


> From: Joseph Erickson <jerickson@eyemg.com>
> Date: Fri, 04 Aug 2000 16:03:08 -0400
> To: MacPerl List <macperl@macperl.org>
> Subject: [MacPerl] Verifying email addresses
> 
> Is there anyway to verify an email before sending a message out?  What I
> would like to do is get an email, like firstclown@yahoo.com, then ask the
> server yahoo.com if firstclown is a valid user name for email.
> 
> This would really help me in checking emails before sending out subscriber
> lists.  You wouldn't believe how many people don't know their own email
> address.  If anyone else has had this problem, let me know how you handled
> it.
> -------------------------------
> J o s e p h   E r i c k s o n
> P u z z l e S m i t h
> 
> 
> # ===== Want to unsubscribe from this list?
> # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org
> 


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org