Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing MS Outlook password.
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01431786
Message ID:
01431787
Vues:
56
>accessing MS outlook on a exterior computer requires a password. i have the password - lets call it '123456'.
>once the login transpires is there a way to insert this password into the logon() code?
>
>thanks
>
>k
>*******************************************
>PROCEDURE SendViaOutlook(tcReturn, tcTo, tcSubject, tcBody, taFiles, tcCC, tcBCC, tlHTMLFormat, tnImportance, tlOpenEmail)
> *******************************************
> LOCAL loOutlook, loItem, lnCountAttachments, loMapi
> TRY
> loOutlook = CREATEOBJECT("outlook.application")
> loMapi = loOutLook.GetNameSpace("MAPI")
> loMapi.Logon()
> loItem = loOutlook.CreateItem(0)
> WITH loItem
> .Subject = tcSubject
> .TO = tcTo
> IF tlHTMLFormat
> .HTMLBody = tcBody
> ELSE
> .Body = tcBody
> ENDIF

Yes, Logon method has UserName and Password parameters.

See http://forums.asp.net/p/1143539/1847602.aspx#1847602

and http://www.officekb.com/Uwe/Forum.aspx/outlook-prog-vba/8684/Using-Redemption-in-Integration-Manager
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform