/var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Mail/Transport
NameSizeModeActions
ArrayTransport.php11730644editdlrm
LogTransport.php15850644editdlrm
MailgunTransport.php49030644editdlrm
SesTransport.php21260644editdlrm
Transport.php24120644editdlrm
Edit: /var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Mail/Transport/SesTransport.php (2126B)
ses = $ses; $this->options = $options; } /** * {@inheritdoc} * * @return int */ public function send(Swift_Mime_SimpleMessage $message, &$failedRecipients = null) { $this->beforeSendPerformed($message); $result = $this->ses->sendRawEmail( array_merge( $this->options, [ 'Source' => key($message->getSender() ?: $message->getFrom()), 'RawMessage' => [ 'Data' => $message->toString(), ], ] ) ); $messageId = $result->get('MessageId'); $message->getHeaders()->addTextHeader('X-Message-ID', $messageId); $message->getHeaders()->addTextHeader('X-SES-Message-ID', $messageId); $this->sendPerformed($message); return $this->numberOfRecipients($message); } /** * Get the Amazon SES client for the SesTransport instance. * * @return \Aws\Ses\SesClient */ public function ses() { return $this->ses; } /** * Get the transmission options being used by the transport. * * @return array */ public function getOptions() { return $this->options; } /** * Set the transmission options being used by the transport. * * @param array $options * @return array */ public function setOptions(array $options) { return $this->options = $options; } }