cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sent email are not in 'sent items' folder

I'm sending email through asp.net code using godaddy server.

here is my mvc code sending email :

string senderEmail = System.Configuration.ConfigurationManager.AppSettings["SenderEmail"].ToString();
string senderPassword = System.Configuration.ConfigurationManager.AppSettings["SenderPassword"].ToString();
SmtpClient client = new SmtpClient("smtpout.secureserver.net", 80);client.EnableSsl = false;client.Timeout = 100000;client.DeliveryMethod = SmtpDeliveryMethod.Network;client.UseDefaultCredentials = false;client.Credentials = new NetworkCredential(senderEmail, senderPassword);
MailMessage mailMessage = new MailMessage(senderEmail, toEmail, NotificationObj.Subject, NotificationObj.Description);mailMessage.IsBodyHtml = true;mailMessage.BodyEncoding = UTF8Encoding.UTF8;client.Send(mailMessage);

 I am sending emails from a web app and server is successfully sending my emails but I can't see those sent emails in my sent items folder.

 

My web config file code is given below: 

 

<appSettings>
  <add key="SenderEmail" value="abc@ngsipc.com" />
  <add key="SenderPassword" value="******" />
<appSettings>
1 REPLY 1
Helper V
Helper V

Re: Sent email are not in 'sent items' folder

You'll need to use IMAP Mail Functions as it's synced acrossed all devices.

 

Please give it a +1 and also click "Mark As Accepted Solution" if you find it satisfactory. Thanking You With Regards | Harry Parmar