Free Support Forum - aspose.com

Sent Items

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);

@Robert343,
Thank you for the query. It will take me a while to find out how to do that. I will answer you as soon as possible.

@Robert343,
You don’t need to care about saving emails to the Sent folder. The server does this action automatically.