Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cant get MAPI to work, going to bed! zzzzzz
Message
 
À
05/06/1999 02:34:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00226783
Message ID:
00227346
Vues:
24
>Been trying to send a simple message all night using mapi active x. I can receive messages all day, but sending is a problem. Trying to send e-mail. Here is my code:
>
>thisform.osession.password=""
>thisform.osession.username=""
>thisform.osession.newsession=.f.
>ThisForm.osession.signon()
>if ThisForm.osession.sessionid<1
> messagebox("session did not initiate")
> return .f.
>endif
>ThisForm.omessage.sessionid=ThisForm.osession.sessionid
>thisform.omessage.compose()
>ThisForm.omessage.MsgNoteText = "COMSCHED UPDATE"
>ThisForm.omessage.MsgSubject = "COMSCHED UPDATE FROM " + THISFORM.CMACHINEID
>ThisForm.omessage.recipaddress="daltin@prodigy.net"
>ThisForm.omessage.Send(0)
>
>I am getting an unspecified error, which is a fun one to try to figger out! Any help would be appreciated!
>
>Nite Nite.
>zzzzzzzzzzzz
>tc

Don't use RecipAddress (that was what I did wrong first). It seems the logical thing to use. What to use instead??? - RecipDisplayName (there's logic in there somewhere but darned if I can think of it). John - thanks for the recommendation, there's more good stuff on the way soon.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform