Try something like:
Email Authentication:
<system.net>
<mailsettings>
<smtp>
<network host="smtp.domain.com" port="25" username="user@domain.com" password="$0M3Pa@$5w0D" />
</smtp>
</mailsettings>
</system.net>
String html = String.Empty;
try
{
WebClient web = new WebClient();
Byte[] bytes;
bytes = web.DownloadData( "http:www.domain.com/page.aspx" );
UTF8Encoding oUTF8 = new UTF8Encoding();
html = oUTF8.GetString( bytes );
MailMessage mail = new MailMessage( "sender@mail.com", "receiver@mail.com" );
SmtpClient smtp = new SmtpClient();
mail.Subject = "Message Subject";
mail.Body = html;
mail.IsBodyHtml = true;
smtp.Send( mail );
}
catch( Exception up )
{
throw up;
}
Happy ...ending,
Morgs