Skip to content

Commit

Permalink
fix attachments on draft email
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsauder committed Dec 21, 2023
1 parent e3905da commit 82ebe99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 82ebe99

Please sign in to comment.