{"action":"closed","issue":{"url":"https://api.github.com/repos/ONLYOFFICE/ONLYOFFICE-Server/issues/6","labels_url":"https://api.github.com/repos/ONLYOFFICE/ONLYOFFICE-Server/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ONLYOFFICE/ONLYOFFICE-Server/issues/6/comments","events_url":"https://api.github.com/repos/ONLYOFFICE/ONLYOFFICE-Server/issues/6/events","html_url":"https://github.com/ONLYOFFICE/ONLYOFFICE-Server/issues/6","id":54984829,"number":6,"title":"SMTP Sending Mail fails when not using authentication","user":{"login":"neandrake","id":1531355,"avatar_url":"https://avatars.githubusercontent.com/u/1531355?v=3","gravatar_id":"","url":"https://api.github.com/users/neandrake","html_url":"https://github.com/neandrake","followers_url":"https://api.github.com/users/neandrake/followers","following_url":"https://api.github.com/users/neandrake/following{/other_user}","gists_url":"https://api.github.com/users/neandrake/gists{/gist_id}","starred_url":"https://api.github.com/users/neandrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neandrake/subscriptions","organizations_url":"https://api.github.com/users/neandrake/orgs","repos_url":"https://api.github.com/users/neandrake/repos","events_url":"https://api.github.com/users/neandrake/events{/privacy}","received_events_url":"https://api.github.com/users/neandrake/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-21T07:01:24Z","updated_at":"2015-03-13T07:48:07Z","closed_at":"2015-03-13T07:48:07Z","body":"I'm testing the latest OnlyOffice service on a CentOS 7 setup. On my internal network my mail server allows for any internal IP to send email without providing credentials. When I configure OnlyOffice to use my internal SMTP server without credentials, the test email button will properly send an email, but when I click to send activation email, an exception will occur on OnlyOffice:\r\n\r\nContents of /var/log/onlyoffice/8.1/Notify.01-20.log\r\n```\r\n015-01-20 15:51:30,811 ERROR [NotifyThread 2015-01-20T20:51:30.7528260Z] ASC.Notify - Tenant: 0, To: person@company.com - System.Net.Mail.SmtpException: 535 5.7.8 Error: authentication failed: generic failure\r\n  at System.Net.Mail.SmtpClient.CheckStatus (SmtpResponse status, Int32 i) [0x00000] in <filename unknown>:0 \r\n  at System.Net.Mail.SmtpClient.Authenticate (System.String user, System.String password) [0x00000] in <filename unknown>:0 \r\n  at System.Net.Mail.SmtpClient.Authenticate () [0x00000] in <filename unknown>:0 \r\n  at System.Net.Mail.SmtpClient.SendCore (System.Net.Mail.MailMessage message) [0x00000] in <filename unknown>:0 \r\n  at System.Net.Mail.SmtpClient.SendInternal (System.Net.Mail.MailMessage message) [0x00000] in <filename unknown>:0 \r\n  at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) [0x00000] in <filename unknown>:0 \r\n```\r\n\r\nWhen I supply credentials for the SMTP configuration on OnlyOffice, email will send again for activations.\r\n\r\nA guess:\r\nhttps://github.com/ONLYOFFICE/ONLYOFFICE-Server/blob/master/common/ASC.Core.Common/Notify/Senders/SmtpSender.cs#L210-L214\r\nIs it possible that the credentials field here is not null but contains empty values? If so this check might need updated to account for such."}}