Back to Samples

Sign and encrypt outgoing e-mail

Creates an e-mail, signs and encrypts it with S/MIME, and sends it via SMTP relay server.

Note that in ASP.NET required certificates usually do not reside in System store of the server.

Instead, they are stored on your local computer. That's why you need to upload these certificates to the server.


MailBee.NET License Key:
SMTP Server Name:
 
User:
Password:

   (must specify the PFX file containing your private сertificate)
Select PFX File:
PFX Password:
We'll upload the PFX file to the server but we won't import it into the system's certificate store.
Neither we'll write any files to the server.

   (must specify the file containing the recipients' public сertificates)
Certificate Store Filename:
Certificate Store File Type:
Password (for PFX/P12 files):
The note above applies as well. We won't modify the server's configuration.
And we won't write any files there.

From:
To:
Subject:
Body: