I am sending out an SMTP email by logging into a mailenable server. The emails are being sent out correctly, but I don’t believe the emails are being saved to the Sent Items. How can I adjust my code to save the email as a Sent Item?
MailMessage msg = new MailMessage();
msg.From = emailFrom;
MailAddressCollection addresses = new MailAddressCollection();
addresses.Add(email.Trim());
msg.To = addresses;
msg.Subject = subject;
msg.Body = bodyText;
this.smtpClient.Send(msg);