Skip to content

Commit

Permalink
Update readme to use 'getSubject'
Browse files Browse the repository at this point in the history
  • Loading branch information
zbateson committed Apr 23, 2024
1 parent 20cd88e commit db3587f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ echo $message->getHeaderValue(HeaderConsts::FROM); // [email protected]
echo $message
->getHeader(HeaderConsts::FROM) // AddressHeader
->getPersonName(); // Person Name
echo $message->getHeaderValue(HeaderConsts::SUBJECT); // The email's subject
echo $message->getSubject(); // The email's subject
echo $message
->getHeader(HeaderConsts::TO) // also AddressHeader
->getAddresses()[0] // AddressPart
Expand Down

0 comments on commit db3587f

Please sign in to comment.