I send the letter from the program on C #. Outlook mail. The letter arrives, but without notice, just in the incoming new letter appears. How to make the notification appear? Regular letters (not from the program) come with a notification.
SmtpClient Smtp = new SmtpClient(); Smtp.Host = "..."; Smtp.Port = 25; Smtp.UseDefaultCredentials = false; Smtp.DeliveryMethod = SmtpDeliveryMethod.Network; Smtp.EnableSsl = false; Smtp.Credentials = new NetworkCredential("name1@....ru", "pass"); MailMessage email = new MailMessage(); email.From = new MailAddress("name1@....ru"); email.To.Add(new MailAddress(sendemail)); email.Subject = "test"; email.Body = "test"; Smtp.Send(email);