Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Timerbreaker900  
#1 Posted : Wednesday, December 9, 2020 6:14:04 AM(UTC)
Timerbreaker900

Rank: Newbie

Groups: Registered
Joined: 12/9/2020(UTC)
Posts: 1
Austria
Location: Vienna

Hi,

Is it possible to use this on a debian 10 server?
I created a c# program with the easendmail package but it seems like that it doesn't work on linux.

My Code:
SmtpMail oMail = new SmtpMail("mykey");

oMail.From = fromEmail;
oMail.To = toEmail;

oMail.Subject = "Subject";
oMail.TextBody = "Body";

SmtpServer oServer = new SmtpServer(exchange);
oServer.User = email;
oServer.Password = pass;
oServer.Port = 25;


Console.WriteLine("start to send email ...");

SmtpClient oSmtp = new SmtpClient();
oSmtp.SendMail(oServer, oMail);

Console.WriteLine("email was sent successfully!");

I always get this error:
Quote:
Unable to load shared library 'kernel32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libkernel32.dll: cannot open shared object file: No such file or directory


Is there any soluten for this?

Thanks in advance
ivan  
#2 Posted : Thursday, December 17, 2020 12:28:25 AM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,152

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
I am sorry to say it doesn't support linux platform
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.038 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.