AdminSystem Software license is lifetime, but each software license is provided with a software upgrade/support period. Upon expiration you can no longer upgrade the software with your license key. If you want to subscribe one-year software update/support, please contact email@example.com.
AIFEI Software license is lifetime, but each software license is provided with a software upgrade/support period. Upon expiration you can no longer upgrade the software with your license key. If you want to subscribe one-year software update/support, please contact firstname.lastname@example.org.
Copy your license key by clicking on the clipboard icon. Then add it to the License Key field in your WP Mail SMTP plugin settings and click on the Verify Key button to save and update your settings.
The below is a complete Console application sample which imports all the required namespaces, defines aliases and sends the e-mail built from System.Net.Mail.MailMessage class (we assume the license key is already set outside the code, see Import namespaces and set license key topic for details).
In this and other samples in this guide, it's assumed MailBee and MailBee.SmtpMail namespaces have been imported and the license key has been set (see Import namespaces and set license key topic for details). msgData must point to the byte array (byte in C# and Byte() in VB) which you need to set in your code.
In case if you indeed would like to read Outlook .MSG files with MailBee.NET, use MailBee.NET Outlook component. It's included in MailBee.NET assembly but it's licensed separately from SMTP component (MailBee.NET Objects bundle includes all the licenses). See Send e-mail created from Outlook .MSG message topic for details.
To load .MSG file into MailBee.Mime.MailMessage object, MailBee.NET Outlook license is required (MailBee.NET SMTP license does not include it while the full MailBee.NET Objects license does).
The self-contained Console sample below imports all the required namespaces, sets the required license key directly in the code (although you could have placed it elsewhere, such as in app.config), loads the e-mail from .MSG file and sends it out:
You can also extract e-mails from Outlook .PST files. In this case, use PstReader class. Both MsgConvert and PstReader classes are considered the parts of the same component and are covered by the same license.
To allow our applications to send e-mails as a given user or service account, we need to configure an Azure AD application with the appropriate permission. Additionally, we need to ensure that the user or service account has a license assigned for sending e-mails.
If you are using a user account that already has the required licenses to operate e-mails and use the mail capabilities of Microsoft 365, then you're already done with this step. Generally, users with a mailbox associated with them should work.
When you've done either of the two approaches to assigning a license, you should head to the User Account and copy the Object ID. Again, you can do all of this from the Azure CLI or PowerShell, but we're doing the visual way for clarity. 2b1af7f3a8