Hi @Fs ,
You can try adjusting the timeout settings of the SmtpClient to give it more time to receive the complete greeting message from the server before sending the EHLO command. You can set the Timeout property of the SmtpClient to a higher value to allow more time for the server's greeting message to be received.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.