Sometimes, when trying to send email replies, you may encounter an error message that says, “550 5.7.1 Client does not have permissions to send as this sender.” In this article, we'll explain the root cause of this error and show you how to quickly fix it.
Unlike a regular mailbox where you use your own username and password to authenticate to the account, outbound emails from Kayako will either use the details from an email queue you've defined in Admin CP > Email Parser > Email Queues - for example support@[yourcompany].com - or the global SMTP details, specified at Admin CP > Settings > Email.
NOTE: For more details on the types of email addresses used by Kayako, see our User Guide article on outgoing email addresses.
By default, the email queue address is used as the 'From' address of the sender. And since the email queue is using its own credentials, the mail server will authenticate those details without a problem.
The error occurs when you try to select a different sender. For example, it commonly occurs when a staff user selects their own email address in the 'From' dropdown, while updating a ticket. This results in an error because the outbound mailbox does not permit users to send on its behalf. It is commonly associated with Exchange/Office365 accounts which tend to restrict “send as” access by default.
For instance, when a staff user, Joe, replies to a support email, by default it will be sent using the 'From' address of the email queue, which, in this case, is support@[yourcompany].com. However, if Joe were to select his own email address, joe@[yourcompany].com, in the 'From' dropdown, it will create a conflict and subsequently lead to the error since you are authenticating using the support@[yourcompany].com credentials but using joe@[yourcompany].com to send the email.
To resolve the error, you need to configure “Send as” permissions on your mail server so that staff email accounts can send email using your outbound mailbox account.
The instructions for doing this for some of the more common email servers/providers are listed below:
- Office365: https://support.microsoft.com/en-us/kb/2572646
- Microsoft Exchange: https://technet.microsoft.com/en-us/library/bb676368%28v=exchg.141%29.aspx
- Google Apps: https://sites.google.com/a/apu.edu/gmail-for-apu/executive-assistants/send-on-behalf