Skip to content

Commit

Permalink
Fix for PHPMailer#1753. This bug was introduced in 7932f2d, so was ne…
Browse files Browse the repository at this point in the history
…ver in a tagged release.
  • Loading branch information
Synchro committed Jun 5, 2019
1 parent 8ea801b commit 511413a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHPMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3354,7 +3354,7 @@ public function addStringAttachment(
$this->attachment[] = [
0 => $string,
1 => $filename,
2 => static::mb_pathinfo($filename, PATHINFO_EXTENSION),
2 => static::mb_pathinfo($filename, PATHINFO_BASENAME),
3 => $encoding,
4 => $type,
5 => true, // isStringAttachment
Expand Down

0 comments on commit 511413a

Please sign in to comment.