Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Integrating Outlook with VFP
Message
 
To
29/01/1999 15:04:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00181950
Message ID:
00183950
Views:
14
Thanks Friend,
It worked exactly the way i wanted.
Aashish
>>I wish to control outlook from vfp.
>>I m successful in passing my memo field to the body of mail but failed to pass the email address in To: column.
>>Any help.
>>Thanks
>
>AAshish
>
>On a form I have a edit box and a send button (plus the mapi system buttons) that I use for my users to email me questions and comments from within the system itself.
>
>The user types in their comments or questions in the edit box then click the send button. Here is the code in the send button:
>
>thisform.session.signon()
>
>IF thisform.session.sessionid > 0
> thisform.message.sessionid=thisform.session.sessionid
> thisform.message.compose
> thisform.message.recipdisplayname='Rushton, Stephen T'
> ** name as it is in outlook. You can also use a variable here
> thisform.message.resolvename
> thisform.message.reciptype=1
> thisform.message.msgsubject = 'Question' ** subject line
> thisform.message.msgnotetext = Thisform.edtQuestion.value
> thisform.message.send(0)
> ** No interface required. use (1) to ask for names
> thisform.session.signoff
> =messagebox('Message has been delivered')
>ENDIF
>
>
>HTH
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform