How to send an email with attachments using SmtpClient.SendAsync?

Don’t use “using” here. You are destroying the memory stream immediately after calling SendAsync, e.g. probably before SMTP gets to read it (since it’s async). Destroy your stream in the callback.

Leave a Comment