email address format using the following regex:
"[EMAIL PROTECTED]"
Send the email and check mail logs for bounced messages.
It's just as likely that a person entered a valid but incorrect address
as that they entered one that is invalid. Possibly more so given the
huge range of possibilities for a valid address.
This assumes that you have access to the smtp logs, but it's the best
solution I've been able to come up with.
Spike
Les Mizzell wrote:
> I've spent the last couple of hours looking at "isEmail" and regular
> _expression_ stuff, but haven't gotten anything to work for me yet. I
> swear somebody posted, just a few weeks ago, a good piece of working
> code, but for some reason I can't seem to get the archive search to work
> for me...
>
> Here's essentially what I'm trying to do:
>
> <cfloop query="emailLIST">
> <IF THE EMAIL ADDRESS IS VALID>
> <cfmail ..blah, blah..send to #emailAddress#..blah, blah>
> Sent: #emailAddress# <!---display so I can see where it went--->
> <cfelse>
> <!---display so I can see where it's screwed--->
> Bad Address - somebody fix this!: #emailAddress#
> </cfif>
> <cfloop>
>
>
> Pointers please?
>
>
--
--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk
Do you cfeclipse? http://cfeclipse.tigris.org
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

