Please help me what am I missing in these steps.Īfter spending hours on this, I have found that the smtp host for the godaddy configured office 365 mail id is " ". Microsoft 365, formerly Office 365, encompasses subscription plans that allow use of the Microsoft Office software suite over the life of the subscription. I also changed the settings in "Mailbox delegation" as per the link, but that did not help either. I also tried to use the MX Txt record in GoDaddy i.e. Msg.Body = "This is a test message using Exchange OnLine" Ĭlient.Credentials = new "mypassword","") Ĭlient.DeliveryMethod = SmtpDeliveryMethod.Network Īnd here is the mailsettings entry in the config file - Īlternatively, I also tried using the userid in place of actual email address in the network credentials,but that did not work either. The server response was: 5.7.57 SMTP Client was notĪuthenticated to send anonymous mail during MAIL FROM The SMTP server requires a secure connection or the client was notĪuthenticated. I am able to send and receive these emails in my outlook mailbox, but not programatically via C# code. I have purchased "Office 365 Email Essentials" plan from GoDaddy for sending the emails.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |