PC Review


Reply
Thread Tools Rate Thread

How can I get an error message if the email does not exist?

 
 
Ed
Guest
Posts: n/a
 
      6th Apr 2006
I use the following line of code. It sends an email to the address. It works
even if the email address is bad.

How can I get an error message if the email does not exist?

DoCmd.SendObject acSendNoObject, , acFormatTXT, (E-Mail Removed),, , "Test
of bad email address", "Test"


 
Reply With Quote
 
 
 
 
TC
Guest
Posts: n/a
 
      6th Apr 2006
You can't. There is literally *no way* to tell, programatically, that a
given email address is *invalid* (in the sense that the address has the
correct format for an email address, but it does not actually exist at
the specified host).

There used to be a way: the SMTP 'VRFY' command. But that is virtually
unusable now, due to its use by spammers to harvest lists of valid
email addresses.

HTH,
TC (MVP Access)
http://tc2.atspace.com

 
Reply With Quote
 
Ed
Guest
Posts: n/a
 
      6th Apr 2006
Thanks, another reason to hate spammers...

"TC" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You can't. There is literally *no way* to tell, programatically, that a
> given email address is *invalid* (in the sense that the address has the
> correct format for an email address, but it does not actually exist at
> the specified host).
>
> There used to be a way: the SMTP 'VRFY' command. But that is virtually
> unusable now, due to its use by spammers to harvest lists of valid
> email addresses.
>
> HTH,
> TC (MVP Access)
> http://tc2.atspace.com
>



 
Reply With Quote
 
 
 
Reply

« hola | mde error »
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Error message: Can't open this item. The property does not exist.. =?Utf-8?B?TWlsbHkgU3RhcGxlcyBbTVZQIC0gT3V0bG9va10= Microsoft Outlook Discussion 1 15th Dec 2006 12:53 AM
Error message: Form doesn't exist =?Utf-8?B?Qy5ELg==?= Microsoft Access Macros 6 28th Jun 2005 07:08 PM
Error Message: Form doesn't exist =?Utf-8?B?Qy5ELg==?= Microsoft Access Forms 2 24th Jun 2005 11:24 PM
Error Message: "Insufficient system resources exist to complete the API " =?Utf-8?B?TWlrZSBCZWdpbm5lcg==?= Windows XP General 1 14th Jan 2004 03:14 PM
Error Message: The Specified Domain Either Does Not Exist or Could Not Be Contac Ted Rodriguez Microsoft Windows 2000 DNS 1 23rd Sep 2003 03:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:26 PM.