FluentEmail icon indicating copy to clipboard operation
FluentEmail copied to clipboard

net core 5.0 An error occurred

Open qcjxberin opened this issue 5 years ago • 5 comments

image

net core 3.1 is normal

qcjxberin avatar Nov 28 '20 08:11 qcjxberin

Works on my machine, with .NET 5. Looking at the stacktrace, it's not an issue via FluentEmail, but with the SmtpClient and the mailserver.

DavidDeSloovere avatar Dec 02 '20 16:12 DavidDeSloovere

Then why does it work normally under net core 3.1? I have not changed anything except net 5.0.

qcjxberin avatar Dec 04 '20 01:12 qcjxberin

Are you sure you are using the same smtp server and you are connecting to it from the same network? Might be a relay issue, were you can call it from corporate network, but not from home.

DavidDeSloovere avatar Dec 04 '20 07:12 DavidDeSloovere

I am sure I am using the smtp server, and the code and make any changes, except from net core3.1 to net 5.0

qcjxberin avatar Dec 06 '20 06:12 qcjxberin

@qcjxberin the tests seem to pass on net 5. so can you share a minimal repro pull request in the form of a failing unit test?

SimonCropp avatar Jan 26 '21 08:01 SimonCropp