-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
If a settings param by name default_mail_sender exist or is not empty or null, it should be assigned to the header variable in the postal api.
+ if(!empty(Arr::get($this->config, 'default_mail_sender'))){
+ $message->sender(Arr::get($this->config, 'default_mail_sender'));
+}This should come before the
$message->send()Also a modification to resources/views/email_services/options/postal.blade.php to include default_mail_sender
+ <x-sendportal.text-field name="settings[default_mail_sender]" :label="__('Default Sender Address')" :value="Arr::get($settings ?? [], 'default_mail_sender')" autocomplete="off" />
This will allow postal users send emails using the header parameter as verification for the MTA instead of the FROM.
This will enable users achieve proxy mailing. Example sent from [email protected] via mailer.absolute.com.

Metadata
Metadata
Assignees
Labels
No labels