PGPPath Property

 Object: SMTP Mailer
 Syntax: <OBJECT>.PGPPath = <value>
 Type: String
 Read/Write: Read/Write
 Description:

This property returns the path for the location of the PGP executable. It should be used in conjunction with the PGPParams property to set PGP security on the e-mail.

See also, GetBodyTextFromFile.

Example:

<%
Set mailer = Server.CreateObject("SoftArtisans.SMTPMail")
 ...
'--- Set the path of the PGP executable
mailer.PGPPath = "E:\Program Files\Network Associates\PGPcmdln\PGP.exe" 
'---
'--- Set the parameters with which PGP will function
'--- These parameters are dependant on the executable set in the PGPPath property
'--- In this example, we want PGP to encrypt a plaintext file with recipient's public key
mailer.PGPParams = "-s -a ""c:\test1.txt"" -u ""<Anyone@unknown.com>"" -z ""passwordkey""" 
 ...
%> 

 

Previous Page Next Page