If you do not properly authenticate your SMTP (outgoing mail) connection then this error can occur while sending emails. In order to resolve this issue you would need to enable SMTP authentication. You can consider the following screenshot that how can you enable SMTP authentication in Outlook.