Hello, motis!
how do you send your email? using networking or SmtpClient?
If you use SmtpClient look at Credentials property.
here is sample code
string to = "ja**@contoso.com";
string from = "be*@contoso.com";
string subject = "Using the new SMTP client.";
string body = @"Using this new feature, you can send an e-mail message from an application very easily.";
MailMessage message = new MailMessage(from, to, subject, body);
SmtpClient client = new SmtpClient(server, port);
// Credentials are necessary if the server requires the client
// to authenticate before it will send e-mail on the client's behalf.
client.Credentials = CredentialCache.DefaultNetworkCredentials;
client.Send(message);
--
Regards, Vadym Stetsyak
www:
http://vadmyst.blogspot.com