laravel-gmail
laravel-gmail copied to clipboard
getHeader case sensitive
Hello, @dacastro4 I received this email .... Received: from 14092732981 named unknown by gmailapi.google.com with HTTPREST; Tue, 24 Jan 2023 12:19:44 -0600 MIME-Version: 1.0 from: Octopus Moving Solutions [email protected] Date: Tue, 24 Jan 2023 12:19:44 -0600 To: [email protected] ....
But parser in getFrom returns null. We can add $this->getHeader('from') in this method.
Or can modify searching in HasHeaders trait if (ucfirst($header->key) === $headerName) {
What is correct? If you need I can push PR.
Thanks!