Skip to content

Commit

Permalink
Merge pull request #239 from styxit/gh-pages
Browse files Browse the repository at this point in the history
Update basic example
  • Loading branch information
zbateson committed May 27, 2024
2 parents 6469a4d + a7667b5 commit 164f635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usage-guide-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ $firstToName = $to->getPersonName();
$firstToEmail = $to->getEmail();

foreach ($to->getAllAddresses() as $addr) {
$toName = $to->getPersonName();
$toEmail = $to->getEmail();
$toName = $addr->getName();
$toEmail = $addr->getEmail();
}

$attachment = $message->getAttachmentPart(0);
Expand Down

0 comments on commit 164f635

Please sign in to comment.