Message id in SMTP Send

Hello,
is it possible the SMTPClient.Send() returns the MailMessage.MessageId??
Best regards,
Miguel de Sousa

Hi Miguel,


Thank you for writing to us.

MessageId is actually assigned to a message by the sending server, and it isn’t possible for SmtpClient to get it upon sending the message, as the sending server doesn’t provide this information.