473,320 Members | 2,094 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,320 software developers and data experts.

Avoiding errors due to bad email addresses

I am making an application that will be used to send an email message to all
members in a certain group (such as maybe all exec board, or all IT, or all
secretaries, etc.). However, as we all know the may occasionally be a
misspelled email or, more often, someone's email is not working, or for
whatever reason an address returns the message. I want to avoid having this
error displayed, but I still need to know which addresses it did not get
sent to. How can I do this? The ideal solution would be a method that tests
whether an address is valid, but I don't know of one. Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Nov 23 '05 #1
1 917
Dear Nathan Sokalski,

Please have a look at Regex (look it up in your docs) and take a look at
http://www.regexlib.com/ (or any other regex website).
Regex is short for 'regular expression' and is a way to test strings to be
in a specific format (eg an emailaddress or postalcode). If you regex
succeeds then your string is in a valid emailaddress format.

About the email address returning the message: there are some third-party
controls/websites that do this for you. For example:
http://www.glocksoft.com/amlv/index.htm However, I don't know how good these
are, but I do know that implementing it by yourself is a lot more work! If
you would like to do it by yourself then you should look into the SMTP.

Hope I helped you,

Michel van den Berg

"Nathan Sokalski" <nj********@hotmail.com> schreef in bericht
news:On****************@TK2MSFTNGP10.phx.gbl...
I am making an application that will be used to send an email message to
all members in a certain group (such as maybe all exec board, or all IT, or
all secretaries, etc.). However, as we all know the may occasionally be a
misspelled email or, more often, someone's email is not working, or for
whatever reason an address returns the message. I want to avoid having this
error displayed, but I still need to know which addresses it did not get
sent to. How can I do this? The ideal solution would be a method that tests
whether an address is valid, but I don't know of one. Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

Nov 23 '05 #2

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

Similar topics

4
by: Robert | last post by:
Im a beginner in PHP and Im having a problem with this code. Im trying to remove duplicate elements from an array created via $_GET. I want users to be able to click on a link which sends an email...
4
by: Mike | last post by:
Hi, In my web form, which registers email addresses, my php script does some email validation, but people still mistype email addresses which are in a valid format but don't exist. PHP tries to...
117
by: Steevo | last post by:
Any suggestions as to the best programs for cloaking email addresses? Many thanks -- Steevo
9
by: Simon | last post by:
Hi All, Is it possible to disallow implicit casting for an operand of a function written in C? i.e. void foo(int a) {..} short b; foo(b) // error without explicit cast
1
by: Nathan Sokalski | last post by:
I am making an application that will be used to send an email message to all members in a certain group (such as maybe all exec board, or all IT, or all secretaries, etc.). However, as we all know...
8
by: Roger Dodger | last post by:
I have to send out 2500 e-mails to student survey recipients. The e-mails will appear to come from the specific departments that they belong to. I'm utilizing PHPmailer in the scripts I wrote to...
27
by: galt_57 | last post by:
I need to do just a few multiplies of long integers and have a divide by ten. Can I avoid using floats? Can I use two longs as a 64 bit value somehow? Thanks.
27
by: Cephalobus_alienus | last post by:
Hello, I know that macros are evil, but I recently came across a problem that I couldn't figure out how to solve with templates. I wanted to create a set of singleton event objects, and wrote...
14
by: Doug | last post by:
Hi, I am trying to use a validation method against this xml and keep getting 'The 'name' attribute is not declared' and I can't figure out why. Here is my XML: <XmlCommand...
7
by: Twayne | last post by:
HI, Below is fully functional, non-functional code :^): In other words, it works, but it doesn't do anything and darned if I can see why. None of the 3 $email assignments result in any output....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.