Sure, just set it in config/mail.php
'from' => ['address' => null, 'name' => null],
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm attempting to integrate Spark with Amazon SES for sending of emails. I can tell it's working if I use Mail::raw, etc. The problem I have is that Spark is sending emails but doesn't appear to be setting the from email address. Amazon SES doesn't like that. For instance, the password reset email and "contact us" emails aren't setting the "from" email address.
In the log I see:
at AwsClient->__call('sendRawEmail', array(array('Source' => null, 'RawMessage' => array('Data' => 'Message-ID: <[email protected]> Date: Thu, 16 Jun 2016 15:05:24 +0000 From: To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable emails.welcome')))) in SesTransport.php line 38
Notice the "Source" being set to null. This causes Amazon to throw back an InvalidParameterValue (client): Illegal address error.
I'm trying to track this down...just curious if others have hit the same snag & have a solution.
Sure, just set it in config/mail.php
'from' => ['address' => null, 'name' => null],
Please or to participate in this conversation.