Emails can't be sent by non-admin users
Collapse
X
-
Send Test Email should work for a regular users. They should have the ability to create a personal email account considering it's allowed in roles to create Personal Accounts and an email address is the same as the user's email address. Meaning that a regular user cannot pick an arbitrary email address when creating an email account.
I suspect that somehow an email address used for a personal email account does not match the users' email address. But not sure.
If there were detail steps to reproduce (what we require in bug report rules) it would be likely easier to find out. It's not very clear what exactly you are doing before getting an error. There are multiple possible scenarios. -
The issue is with personal accounts. If user is regular, there's no possibility to send or even test SMTP. For same user as admin all works fine. It has definately to be something with rights. However all rights are set to maximum as you can see in the screenshot. Any ideas where to look? -
We don't have such issue. And haven't received reports from users. Maybe something is corrupted.Leave a comment:
-
If you want to allow sending Emails for all users by using the SMTP configured system-email for outgoing emails, you must mark that possibility in the outgoing mail configuration (right at the top).
You can also allow personal Email accounts, where you could different SMTP for the user of that account.Leave a comment:
-
Emails can't be sent by non-admin users
If user is not an admin they can not send email to Entity, nor they can test SMTP. Imap is tested ok. Logs below.
WARNING: (403) :: POST /Email/sendTest :: /var/www/espo/application/Espo/Tools/Email/SendService.php(651)
WARNING: (403) Assignment failure: assigned user or team not allowed. :: POST /Email :: /var/www/espo/application/Espo/Core/Record/Service.php(504)
When I make this user an admin, everything works fine.
Setting role permitions to everything "all" and "yes" doesn't help.
Nor helped disabling and enabling Email; Setting default team; Clearing and/or disabling cache; rebuilding Application.
Current version: 8.4.2
Tags: None

Leave a comment: