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 = .Recipients.Add("emailto@isp.com")
objOutlookRecip.Type = olto
' Resolve each Recipient's name.
For Each objOutlookRecip In .Recipients
objOutlookRecip.Resolve
Next
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.

Signature
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
>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
[quoted text clipped - 10 lines]
> objOutlookRecip.Resolve
> Next
salad - 29 Jul 2006 17:34 GMT
> 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 "joe@blow.com" but if I passed "Joe
Blow" instead I'd then want to Resolve?
Sue Mosher [MVP-Outlook] - 29 Jul 2006 18:10 GMT
Exactly. And you wouldn't want to send the message unless Recipient.Resolve returned True.

Signature
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
>
> Is a SMTP address something like "joe@blow.com" but if I passed "Joe
> Blow" instead I'd then want to Resolve?
salad - 29 Jul 2006 18:15 GMT
> Exactly. And you wouldn't want to send the message unless
> Recipient.Resolve returned True.
Thank you.