473,385 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

email validation against a SMTP server?

AFN
Has anyone written any code to verify an email address against an SMTP
server? I hear you can see if the address is an alias (catchall) versus a
real account. I know you can telnet on port 25 and do a VRFY command, but
I think most servers now disable this for security. So is it worthwhile
doing any validation against the server? If so, what are the commands you
would execute after HELO? Is there a way to see if the address is good
without actually sending mail and without calling VRFY? Anyone have any
sample code to share?
Nov 19 '05 #1
2 2509
I've seen libraries for this, I believe that AspNetEmail does this, and/or
AspNetMX / AspNetSmtp. You might check those, as well as newsgroups that
are email-specific.

"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message
news:I3*****************@twister.socal.rr.com...
Has anyone written any code to verify an email address against an SMTP
server? I hear you can see if the address is an alias (catchall) versus a real account. I know you can telnet on port 25 and do a VRFY command, but I think most servers now disable this for security. So is it worthwhile
doing any validation against the server? If so, what are the commands you would execute after HELO? Is there a way to see if the address is good
without actually sending mail and without calling VRFY? Anyone have any
sample code to share?

Nov 19 '05 #2
I think aspNetMX is the right one. www.aspnetMX.com.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message
news:I3*****************@twister.socal.rr.com...
Has anyone written any code to verify an email address against an SMTP
server? I hear you can see if the address is an alias (catchall) versus
a
real account. I know you can telnet on port 25 and do a VRFY command,
but
I think most servers now disable this for security. So is it worthwhile
doing any validation against the server? If so, what are the commands
you
would execute after HELO? Is there a way to see if the address is good
without actually sending mail and without calling VRFY? Anyone have any
sample code to share?

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: news | last post by:
There's all kinds of ways to validate an email address to make sure it's well formed and whatnot, but what about checking to see if it's a valid e-mail account? Like how you can use checkdnsrr()...
0
by: John Silver | last post by:
I have a perl script running on machine A, a web server. A visitor completes certain pieces of data and these are compiled into two emails, one addressed to the visitor and copied to the site...
17
by: Bonj | last post by:
Right guys. (I would like a solution to this in VB6 as this is what our needy app is written in, but any solutions that involve .NET would be much appreciated likewise as I could instantiate...
11
by: tshad | last post by:
I have a W2003 server running my website and I am trying to set up my pages to send email using System.Web.Mail. I have pages running on this machine using CDONTS that work fine. I am using...
14
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my...
3
by: JaffaCakes | last post by:
I want to send an email confirmation after a user completes a form on our Internet page. I am testing this with the System.Web.Mail.SmtpMail class. If I do a SmtpMail.Send then the message takes...
1
by: Johnny Jörgensen | last post by:
I'm sending emails from my application using the System.Net.Mail namespace functions. I've noticed that when e.g. Hotmail receives my mail, it blocks it and says it can be harmful because of a...
6
by: gnewsgroup | last post by:
I am using Peter Bromberg's code to send email through gmail smtp service in my asp.net web application. Thanks, Peter. The problem with gmail smtp is that gmail will overwrite the sender's...
6
by: =?Utf-8?B?RGF2aWQsIHRoZSBncmVhdA==?= | last post by:
Hi, Is there a way to validate an email address and to check whether it is sendable? Function EmailTo(ToEmail, FromEmail, strSubject, strBody) Set objMessage = CreateObject("CDO.Message")...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.