A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Question about sending e-mails - Outlook 2003



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 4th 06, 05:48 AM posted to microsoft.public.outlook.program_vba
Steve Marshall
external usenet poster
 
Posts: 2
Default Question about sending e-mails - Outlook 2003

Hi All,

I have an application in Access that allows sending of e-mails to
selected recipients from the database - pretty basic stuff. I am doing
a .Resolve on each recipient as I add them to the e-mail item, and that
catches several problems, like badly-formed e-mail addresses. But the
..Send method still fails sometimes, with an error that has the
corresponding message "Outlook could not recognize one or more
addresses", or words to that effect. This is very irritating - what is
Outlook checking at the .Send stage that it doesn't check at the
..Resolve? Is there a way to force it to do all possible checks on the
list of recipients BEFORE the .Send? I can't see any other methods
that appear to allow that. Or can I somehow find out which addresses
it doesn't like? I really want to be able to tell the user which
addresses are OK and which are not, BEFORE the .Send is done, so I can
give an option to cancel and correct the bad addresses if they want.

Thanks

Ads
  #2  
Old July 4th 06, 04:22 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Question about sending e-mails - Outlook 2003

There's a Recipients.ResolveAll method; if any have failed, the Recipient
object in the Recipients collection will have the Resolved property set to
False.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Steve Marshall" wrote:

Hi All,

I have an application in Access that allows sending of e-mails to
selected recipients from the database - pretty basic stuff. I am doing
a .Resolve on each recipient as I add them to the e-mail item, and that
catches several problems, like badly-formed e-mail addresses. But the
..Send method still fails sometimes, with an error that has the
corresponding message "Outlook could not recognize one or more
addresses", or words to that effect. This is very irritating - what is
Outlook checking at the .Send stage that it doesn't check at the
..Resolve? Is there a way to force it to do all possible checks on the
list of recipients BEFORE the .Send? I can't see any other methods
that appear to allow that. Or can I somehow find out which addresses
it doesn't like? I really want to be able to tell the user which
addresses are OK and which are not, BEFORE the .Send is done, so I can
give an option to cancel and correct the bad addresses if they want.

Thanks


  #3  
Old July 5th 06, 08:17 AM posted to microsoft.public.outlook.program_vba
Steve Marshall
external usenet poster
 
Posts: 2
Default Question about sending e-mails - Outlook 2003

Thanks Eric, I'll pursue that. Does that mean that Outlook is calling
this ResolveAll method, and checking the Resolved flags, before it does
the Send? I am already calling the Resolve method on each Recipient
after I add it to the collection, and checking the Resolved flag - why
isn't any problem caught at this stage?

Eric wrote:
There's a Recipients.ResolveAll method; if any have failed, the Recipient
object in the Recipients collection will have the Resolved property set to
False.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Steve Marshall" wrote:

Hi All,

I have an application in Access that allows sending of e-mails to
selected recipients from the database - pretty basic stuff. I am doing
a .Resolve on each recipient as I add them to the e-mail item, and that
catches several problems, like badly-formed e-mail addresses. But the
..Send method still fails sometimes, with an error that has the
corresponding message "Outlook could not recognize one or more
addresses", or words to that effect. This is very irritating - what is
Outlook checking at the .Send stage that it doesn't check at the
..Resolve? Is there a way to force it to do all possible checks on the
list of recipients BEFORE the .Send? I can't see any other methods
that appear to allow that. Or can I somehow find out which addresses
it doesn't like? I really want to be able to tell the user which
addresses are OK and which are not, BEFORE the .Send is done, so I can
give an option to cancel and correct the bad addresses if they want.

Thanks



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can's able to recieve mails but sending mails About Outlook Configuration Outlook - General Queries 4 July 5th 06 06:00 PM
Outlook 2003 keep sending mails Joyee Outlook - General Queries 2 May 17th 06 02:43 PM
sending out mails farha Outlook Express 3 May 9th 06 03:55 PM
Trouble in sending mails [email protected] Outlook - General Queries 1 May 2nd 06 02:15 PM
Sending mails not using TNEF Ingmar Bauer Outlook and VBA 1 February 22nd 06 10:30 PM


All times are GMT +1. The time now is 06:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.