Gets or sets the details about the software which was used to create the message.
A string containing the information about the software which was used to create the message. By default, it's MailBee.NET N, where N - is Version.
This sample loads the message from .EML file and displays the details of the software, which were used to create the message.
[C#] using System; using MailBee; using MailBee.Mime; class Sample { static void Main(string[] args) { // Load the message from file. MailMessage msg = new MailMessage(); msg.LoadMessage(@"C:\Docs\TestMail.eml"); // Show the details of software which was used // to compose the message. Console.WriteLine("The mailer is " + msg.XMailer); } }
[Visual Basic] Imports System Imports MailBee Imports MailBee.Mime Module Sample Sub Main(ByVal args As String()) ' Load the message from file. Dim msg As New MailMessage msg.LoadMessage("C:\Docs\TestMail.eml") ' Show the details of software which was used ' to compose the message. Console.WriteLine("The mailer is " & msg.XMailer) End Sub End Module
MailMessage Class | MailBee.Mime Namespace