I am using the sample code below in sending emails. How can i save it first as an eml file before sending it as email in vb.net
Dim SmtpServer As New SmtpClient("smtp.exampledomain.com", 25)
Dim mails As New MailMessage("[email protected]", "someuser", "TEST EMAIL", "Sample Message")
SmtpServer.Credentials = New Net.NetworkCredential([email protected], "password")
SmtpServer.Send(mails)
Any suggestion is highly appreciated. Thank you.!