Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Failure send message with .Net
  •  
alegin9

Messages: 1
Karma: 0
Send a private message to this user
I read all forum about this error but i don't resolve my problem. I don't send email from my webserver to mail server with kerio.The message is the same Failure send message:


MailMessage messaggio = new MailMessage();
SmtpClient server = new SmtpClient(ipservermail, 25);
NetworkCredential credenzialimail = new NetworkCredential(username, password);
messaggio.From = new MailAddress
username);
messaggio.To.Add(new MailAddress(addressmail , name));
messaggio.Subject = <_at_>"text";
messaggio.SubjectEncoding = System.Text.Encoding.UTF8;
messaggio.Body = <_at_>"try";
messaggio.BodyEncoding = System.Text.Encoding.UTF8;
messaggio.IsBodyHtml = true;
server.UseDefaultCredentials = false;
server.Credentials = credenzialimail;
server.Send(messaggio);
Can you help me??
  •  
cohcon

Messages: 88
Karma: 0
Send a private message to this user
Goto Dimac.net and download their free w3jmail component. Easy to setup and use. I've used it for years with kms and other mail servers.

http://dimac.net/default2.asp?M=Products/MenuCOM.asp&P=P roducts/w3JMail/start.htm

Easy to use, but make sure to download the manual and read it...

Conn
Previous Topic: localized names of mapped folders
Next Topic: Office 2007 Beta
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Fri Nov 17 20:41:13 CET 2017

Total time taken to generate the page: 0.00426 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.