|
|
От: |
Дюша
|
http://www.danfoss.com/russia |
| Дата: | 28.09.07 09:46 | ||
| Оценка: | |||
V> MailMessage message = new MailMessage("sender@mail.ru", "recipient@mail.ru");
V> message.Body = "body";
V> message.Subject = "subj";
V> SmtpClient smtpClient = new SmtpClient("mail.ews.ru", 25);
V> smtpClient.UseDefaultCredentials = true;
V> smtpClient.Send(message);
V>Unable to connect to the remote server.
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond