MailMill COM 1.0 Documentation

SenderCertificateLocation Mail Property:
Gets or sets an MM_STORE_LOCATION value that specifies the location of the sender's certificate.
Default Value:
mmStoreCurrentUser
Syntax:
[C++]
HRESULT get_SenderCertificateLocation(MM_STORE_LOCATION *pVal);
HRESULT put_SenderCertificateLocation(MM_STORE_LOCATION newVal);
[VB]
Property SenderCertificateLocation As MM_STORE_LOCATION
Remark:
By default, a certificate blocks the direct access to its private key. If you want MailMill to use a certificate to sign messages, you must authorize the access to the certificate private key. Thus, you need to export your certificate (disable private key strong protection) and import it in the store you choose.
Example:
[VB]
Dim oMail As New Mail
oMail.Sign = mmSignClear
oMail.SenderCertificateLocation = mmStoreLocalMachine
See also:
MailMill Component | Mail Object

 

Copyright © Active+ Software 2005 - All rights reserved