none
SmtpException Office365 RRS feed

  • Question

  • I use Office365 for send email:

    var host = "smtp.office365.com";
    var port = 587;
    
    
     var smtp = new System.Net.Mail.SmtpClient();
                smtp.Host = host;
                smtp.Port = port;
                smtp.EnableSsl = true;
                smtp.UseDefaultCredentials = false;
                smtp.Credentials = new System.Net.NetworkCredential(user, pass);
                smtp.Send(correo);

    I get this message error:

    System.Net.Mail.SmtpException: Error en la transacción. La respuesta del servidor fue: 5.2.0 STOREDRV.Submission.Exception:MessageSubmissionExceededException.MapiExceptionMaxSubmissionExceeded; Failed to process message due to a permanent exception with message Cannot save changes made to an item to store. 0.35250:04000000, 1.36674:01000000,

    Friday, July 19, 2019 7:38 AM

All replies