Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Encryption and Digital Signature
Message
From
19/04/2007 13:09:10
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Outlook Encryption and Digital Signature
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01217944
Message ID:
01217944
Views:
78
I generally use CDO to send email messages but I need to use Exchange Encryption.

Is there a way to turn on or off a digital signature and encryption for an outlook mail item automated from FoxPro? Below is my rather crude code to send an email using the outlook client on the PC the program is running on. As far as I can tell, there is no way to turn on or off the digital signature and encryption for a single mail item. I have found that if I set the outlook to always encrypt and sign, all automated emails are encrypted and signed.
loOutlook = CREATEOBJECT('outlook.application')
loEmailItem = loOutlook.CreateItem(0)
loEmailItem.TO = m.msgEmailAddresses
loEmailItem.Subject = m.msgSubject
loEmailItem.Body = m.msgText
loEmailItem.Importance = 1
loEmailItem.SEND
Scott Sherman
Reply
Map
View

Click here to load this message in the networking platform