Skip to content

Commit 8949a27

Browse files
authored
Merge pull request #5 from ThomasLandauer/patch-1
Update README.md: Minor (Date)
2 parents 56201c8 + b222d91 commit 8949a27

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ $message->getHeader('Content-Type'); // 'multipart/mixed; boundary="----=_Par
5151
$message->getFrom(); // 'Arunas <arunas@example.com>
5252
$message->getTo(); // 'John Doe <johndoe@example.com>
5353
$message->getSubject(); // 'Subject line'
54-
$message->getDate(); // DateTime object when the email was sent
54+
$message->getDate(); // `Date:` header as DateTime object
5555
$message->getSize(); // Email size in bytes
5656

57-
$message->getParts(); // Returns an array of \Opcodes\MailParser\MessagePart, which can be html parts, text parts, attachments, etc.
58-
$message->getHtmlPart(); // Returns the \Opcodes\MailParser\MessagePart containing the HTML body
59-
$message->getTextPart(); // Returns the \Opcodes\MailParser\MessagePart containing the Text body
60-
$message->getAttachments(); // Returns an array of \Opcodes\MailParser\MessagePart that represent attachments
57+
$message->getParts(); // array of \Opcodes\MailParser\MessagePart, which can be html parts, text parts, attachments, etc.
58+
$message->getHtmlPart(); // \Opcodes\MailParser\MessagePart containing the HTML body
59+
$message->getTextPart(); // \Opcodes\MailParser\MessagePart containing the Text body
60+
$message->getAttachments(); // array of \Opcodes\MailParser\MessagePart that represent attachments
6161

6262
$messagePart = $message->getParts()[0];
6363

0 commit comments

Comments
 (0)