Sets the url base of the email.
You will want to set the property when you call GetBodyFromUrl(); This property will set the mail header "Content-Base". Not all mail readers support this header.
[C#]
EmailMessage msg = new EmailMessage();
msg.Server = "Mail1.MyCompany.com";
msg.FromAddress = "me@MyCompany.com";
msg.To = "you@YourCompany.com";
msg.Subject = "Daily Newsletter";
msg.Body = "Here is our daily newsletter.....";
msg.UrlContentBase = "http://www.yahoo.com";
if ( msg.Send() )
{
Console.WriteLine( "Message Sent!");
}
else
{
Console.WriteLine( msg.LastException().Message );
}
[Visual Basic]
Dim msg As New EmailMessage()
msg.Server = "Mail1.MyCompany.com"
msg.FromAddress = "me@MyCompany.com"
msg.To = "you@YourCompany.com"
msg.Subject = "Daily Newsletter"
msg.Body = "Here is our daily newsletter....."
msg.UrlContentBase = "http://www.yahoo.com"
If (msg.Send()) Then
Console.WriteLine("Message Sent!")
Else
Console.WriteLine(msg.LastException().Message)
End If