Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why do I need to open outlook to send e-mail, part II ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00231324
Message ID:
00233195
Views:
32
Kevin,

You have started the .Compose() method of the MAPIMessages object? And you have a successful logon?

.Compose()
.RecipientStuffGoesHere
.Send()

Check the article on my website for the full MAPI code example.

>I inserted this code into the code Luiz posted
>
>
> .RecipIndex = 0
> .RecipDisplayName = "email@mail.com"
> .RecipType = 1
> .ResolveName()
>
> .RecipIndex = 1
> .RecipDisplayName = "email@mail.com"
> .RecipType = 1
> .ResolveName()
>
>but I keep getting an OLE error "Invalid recipients..."
>
>I have tried changing both the RecipType and RecipIndex properties
>but it still wont work. If I comment out the second email address,
>all work fine.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform