MailMessageReferences Property |
Gets or sets the references of the message.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string References { get; set; }
Public Property References As String
Get
Set
Property Value
Type:
String
A string containing the references of the message. The default value is an empty string.
Remarks The value of this property is taken from References header.
This header usually contains a space-separated list of Message-ID values
of all messages in a thread. However, building message threads using this header is not reliable
since many e-mail clients do not support this mechanism.
Examples This sample loads the message from .EML file and displays the references of the message.
using MailBee;
using MailBee.Mime;
MailMessage msg = new MailMessage();
msg.LoadMessage(@"C:\Data\example.eml");
Console.WriteLine(msg.References);
Imports MailBee
Imports MailBee.Mime
Dim msg As New MailMessage
msg.LoadMessage("C:\Data\example.eml")
Console.WriteLine(msg.References)
See Also