Skip to content

Commit 208c474

Browse files
authored
Merge pull request #19 from Stokoe0990/GetCustomHeader
Added custom header getter
2 parents 792869e + 81f0ff4 commit 208c474

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/InboundEmail.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ public function html(): ?string
6464
{
6565
return $this->message()->getHtmlContent();
6666
}
67+
68+
public function headerValue($headerName): string
69+
{
70+
return $this->message()->getHeaderValue($headerName, null);
71+
}
6772

6873
public function subject(): ?string
6974
{

0 commit comments

Comments
 (0)