Verified Property
True if the authenticity of the message signer
was verified suceesfully and the message was not altered during transmission;
otherwise, False.
To verify the message the developer can use Verify
or DecryptAndVerify
method. Only signed messages can be verified.
Value Type: | Boolean | |
Parameters: | None | |
Remarks: |
This property is read-only. |
Usage example:
' This example loads the message from file, Dim objMsg, objSMIME ' Using Visual Basic to create the objects Set objMsg = CreateObject("MailBee.Message") Set objSMIME = CreateObject("MailBee.SMIME") ' Using ASP to create the objects 'Set objMsg = CreateObject("MailBee.Message") 'Set objSMIME = Server.CreateObject("MailBee.SMIME") ' Specify MailBee license key objSMIME.LicenseKey = "put your license key here" ' Load the message from file objMsg.ImportFromFile "mail_src.eml" ' Specify the message fro the further processing Set objSMIME.Message = objMsg ' Check if the message is signed If objSMIME.Signed Then ' Verify the message objSMIME.Verify ' Check if the message was verified successfully If objSMIME.Verified Then ' Display to whom was the sender's certificate issued ' In ASP use Response.Write instead of MsgBox MsgBox (objSMIME.SenderCert.IssuedTo) End If End If
See Also:
Signed Property, Verify Method, DecryptAndVerify Method
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.