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

What does Resolve do?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 29th 06, 04:13 PM posted to microsoft.public.outlook.program_vba
salad
external usenet poster
 
Posts: 27
Default What does Resolve do?

I am using automation from Access to send an email. Here's some code
from MS and it uses the Resolve method to do something...I'm not sure
what. Is "resolving" necessary? I simply want to send out an email, I
really don't care whether or not the person is in an address book entry,
simply that the person gets the email. Can you clarify what Resolve does?

'Add a TO recipient(s) to the message.
Set objOutlookRecip = ")
objOutlookRecip.Type = olto

' Resolve each Recipient's name.
For Each objOutlookRecip In .Recipients
objOutlookRecip.Resolve
Next
Ads
  #2  
Old July 29th 06, 05:36 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default What does Resolve do?

Resolve matches a name with a valid address. Outlook always does that automatically for SMTP addresses. If you are using only full SMTP addresses, you shouldn't need to call Resolve.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"salad" wrote in message ink.net...
I am using automation from Access to send an email. Here's some code
from MS and it uses the Resolve method to do something...I'm not sure
what. Is "resolving" necessary? I simply want to send out an email, I
really don't care whether or not the person is in an address book entry,
simply that the person gets the email. Can you clarify what Resolve does?

'Add a TO recipient(s) to the message.
Set objOutlookRecip = ")
objOutlookRecip.Type = olto

' Resolve each Recipient's name.
For Each objOutlookRecip In .Recipients
objOutlookRecip.Resolve
Next

  #3  
Old July 29th 06, 06:34 PM posted to microsoft.public.outlook.program_vba
salad
external usenet poster
 
Posts: 27
Default What does Resolve do?

Sue Mosher [MVP-Outlook] wrote:

Resolve matches a name with a valid address. Outlook always does that
automatically for SMTP addresses. If you are using only full SMTP
addresses, you shouldn't need to call Resolve.


Hi Sue:

Thanks for the reply.

Is a SMTP address something like " but if I passed "Joe
Blow" instead I'd then want to Resolve?
  #4  
Old July 29th 06, 07:10 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default What does Resolve do?

Exactly. And you wouldn't want to send the message unless Recipient.Resolve returned True.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"salad" wrote in message ink.net...

Is a SMTP address something like " but if I passed "Joe
Blow" instead I'd then want to Resolve?

  #5  
Old July 29th 06, 07:15 PM posted to microsoft.public.outlook.program_vba
salad
external usenet poster
 
Posts: 27
Default What does Resolve do?

Sue Mosher [MVP-Outlook] wrote:

Exactly. And you wouldn't want to send the message unless
Recipient.Resolve returned True.


Thank you.
 




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
Problems with Autocomplete/resolve Outlook 2003 [email protected] Outlook - General Queries 0 July 27th 06 09:04 PM
How do I resolve desktop error code 85010014? Mia Outlook and VBA 0 June 15th 06 05:31 PM
Resolve names in contacts as well as global address list Liam Waters Outlook - Using Contacts 1 May 4th 06 01:28 PM
How to resolve error message 0X8004210A grneyeldy1966 Outlook - Installation 1 March 29th 06 05:32 AM
How do I resolve error 1610 when installing Outlook2003? plainolguy Outlook - Installation 0 February 5th 06 11:51 PM


All times are GMT +1. The time now is 09:08 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.