❔ SmptClient invalid response to the EHLO command.
I have 2 versions of this project one is one console which works perfectly well the other one is on Asp.net which is always receiving
"The server returned an invalid response to the EHLO command."
The code is pretty much identical across the both of them I assume it could be asp blocking the request?
Asp.net src (not working)
Console app Src (working)
2 Replies
Closing this issue as I fixed it, the issue was due to System.Net.Mail SmptClient being obsolete but no one marking it as so, mailkit should be used instead, possibly someone could update smptclient to be marked as obsolete in code? it is only commented as so but doesnt give a warning
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.