diff --git a/src/mail.php b/src/mail.php index 1554efd..a81b16e 100644 --- a/src/mail.php +++ b/src/mail.php @@ -192,7 +192,7 @@ public function createDraft( string|array $to, string $subject, string $content, ]; if( count( $this->attachments )>0 ) { - $mailBody[ 'Message' ][ 'attachments' ] = $this->attachments; + $mailBody[ 'attachments' ] = $this->attachments; } $headers = [