Hey, In my Laravel application, I have implemented a default email-sending server for the users where they can use the system super-admin default email setup by using the checkbox, but while testing out from the user site it is throwing errors like
---------- Message:Expected response code "250" but got code "553", with message "553 5.7.1 [email protected]: Sender address rejected: not logged in".
I don't know what's going on anyone has any idea how can I resolve this issue?
Note: It works perfectly fine with the super admin side and also works when I enter the same email server details from the user site as well, but whenever I use the default system email setup using the checkbox it shows an error or gets stuck sometimes.
SuperAdmin Side Code>>
<div class="col-md-4">
<div class="form-group">
<label>
{!! Form::checkbox('allow_email_settings_to_businesses', 1,!empty($settings["allow_email_settings_to_businesses"]),
[ 'class' => 'input-icheck']); !!}
@lang('superadmin::lang.allow_email_settings_to_businesses')
</label>
@show_tooltip(__('superadmin::lang.allow_email_settings_tooltip'))
</div>
</div>
User Side Code>>
<div class="pos-tab-content">
<div class="row">
@if(!empty($allow_superadmin_email_settings))
<div class="col-xs-12">
<div class="form-group">
<div class="checkbox">
<br>
<label>
{!! Form::checkbox('email_settings[use_superadmin_settings]', 1, !empty($email_settings['use_superadmin_settings']) ,
[ 'class' => 'input-icheck', 'id' => 'use_superadmin_settings']); !!} {{ __( 'lang_v1.use_superadmin_email_settings' ) }}
</label>
</div>
</div>
</div>
@endif
<div id="toggle_visibility" @if(!empty($email_settings['use_superadmin_settings'])) class="hide" @endif>