|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
How can i check for an email address whether exists or not...
is there any perl modules there to find out whiether an email exists or not? vijay |
|
#2
|
|||
|
|||
|
i know this snippet of code validates(!)... if ($email =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/ || $email !~ /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/) {Print "Sorry bad email address!"; exit; } But i want to know whether that email address exists or not? in the server vijay |
|
#3
|
|||
|
|||
|
Well if the address is on the same server as yours, you could probably grep the /ect/passwd file as well as the /etc/aliases and /etc/mail/vitusertable files. (and that's assuming that those are the only files your sendmail system is setup to work with).
The real truth is that you can't check without sendint it an e-mail and seeing if it bounces. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > email check? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|