Getting below error
Expected response code 354 but got code "554", with message "554 5.5.1 Error: no valid recipients "
WORKSUITE SAAS Lower than 3.7.3
Emails from companies get sent from the email of the company
In the case of AWS SES, emails are not sent from unverified senders.
So, to make emails sent directly from SuperAdmin mail from email, make the following changes to the code.
Open the file app/Traits/SmtpSettings.php
Replace line #28, #29 which is
$companyName = $company ? $company->company_name : $smtpSetting->mail_from_name;
$companyEmail = $company ? $company->company_email : $smtpSetting->mail_from_email;
$companyName = $smtpSetting->mail_from_name;
$companyEmail = $smtpSetting->mail_from_email;
Note: This will make all the emails comes from SMTP mail from and mail to address to all the customers
WORKSUITE SAAS above 3.7.3
Simply add below line to .env file