![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |