If you are looking for information about Implicit mail servers please refer to [C# send email using implicit ssl].
As mentioned in mail sending we will face with four concepts: Mail Messages, Mail Addresses, Attachments and Mail Senders
All mail messages in Aegis Implicit Mail are extending an abstract class called AbstractMailMessage which is an extended System.Net.Mail.
If you want to send MIME messages (nor mal emails) you need to use MimeMailMessage and if you are about to send a smime (Signed/Encrypted) mail you need to use SmimeMailMessage.
MimeMailMessage is made to support our extended Mime Attachments and SmimeMailMessage is to enhance Mail messages with Cryptography functionalities
All Mail Addresses are Implementing IMailAddress. So we can cast them to each other and use generic classes.
For the time being MimeMailAddress have nothing more than MailAddresses beside implementing IMailAddress Interface, while SmimeMailAddress
Has Signing and Encryption certificates In order to be able to send Signed and encrypted Certificates to Mail Addresses
All Attachments Classes should extend System.Net.Mail.Attachment.
MimeAttachment is implemented in order to add inline mail capabilities beside Attachment functionalities. In the other hand, MimeAttachment can have two types, inline and attached.
The most important thing that we need for Smime Attachment is to be able to sign and encrypt it. Therefore we need to have the data of attachment file (as byte array). In the other hand we don't need to have any specific object for the Smime attachments we use the .net Attachment class and in sender we just read it's content and will sign and encrypt it. Therefor, to send an smime mail you can use System.Net.Mail.Attachment
All mail senders should implement an interface called IMailer. This interface is used to define mail generation and mail sending functions.
Mail Senders are used to send Mime And Smime Messages with specified attachments and receivers to specified users
You can use MimeMailer for sending mime messages and SmimeMailer for sending smime mails.