We do have MFA enabled for our domain users. I'm still getting the same error message. Is it possible to send email through a shared mailbox for which the credentialed user has Send As rights?.Are there any special settings required in Exchange or on the licensed user to make this work? (If the answer to 1 is yes). ![]() Is there a way to send through O365 with a licensed user? (code above).Net SmtpClient code looked very similar to the MailKit code. Have tried with and withoutĬlient.Connect("", 587, ) ![]() (new MailboxAddress("External = "Test" Ĭlient.ServerCertificateValidationCallback = (s,c,h,e) => true Ĭ("XOAUTH2") //Not sure what this does. Is it not possible to send email via O356? Is there any special configuration that has to happen in Exchange to make this possible? I can use the credentials that I have in my code to log into OWA - so I know the credentials are valid. "AuthenticationInvalidCredentials: 5.7.3 Authentication unsuccessful " I keep getting error (this is the error from MailKit - the. ![]() ![]() Net's SmtpClient as well as MailKit's SmtpClient and neither one seems to work. I've been testing this to ensure that the code we have in place will continue to work with O365 but so far, I have not been very successful. We are thinking about moving to O365 however, we developed software that uses our current Exchange server to send email both to external users as well as to a support box when errors occur.
0 Comments
Leave a Reply. |