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:
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