I'm currently refactoring code that sends email.
The code is running on the same machine as a SMTP server.
The old code looked simply like this:
using (var client = new SmtpClient())
This works and sends the mail.
When I started using Limilabs Mail.dll I started getting this error:
503:This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server.
There are no SMTP username or password configured anywhere in the Web.config file.
I understand that SmtpClient uses some kind of default credentials, but I don't know what those are or how to read them and use them in Limilabs' Smtp client...
Can anyone help me out?