Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why do I need to open outlook to send e-mail, part II ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00231324
Message ID:
00233195
Vues:
33
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform