IPWorks S/MIME 2020 JS Edition

Questions / Feedback?

SSLServerAuthentication Event

Fired after the server presents its certificate to the client.


ssmtp.on('SSLServerAuthentication', listener: (e: {readonly certEncoded: string, readonly certEncodedB: Uint8Array, readonly certSubject: string, readonly certIssuer: string, readonly status: string, accept: boolean}) => void )


This event fires with information about the server certificate. The Status property shows why verification failed (otherwise, Status contains the string "OK"). To manually accept an untrusted certificate, the SSLAcceptAnyServerCert setting must be set to True before intiating the connection.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 JS Edition - Version 20.0 [Build 8161]