From 73d1849759284646af8548e11614176b788f59d2 Mon Sep 17 00:00:00 2001 From: Niels de Blaauw Date: Wed, 13 Mar 2019 10:55:45 +0100 Subject: Fixes #28, uses correct method for sender name --- Postman/PostmanOptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Postman/PostmanOptions.php b/Postman/PostmanOptions.php index af88b18..b32d738 100644 --- a/Postman/PostmanOptions.php +++ b/Postman/PostmanOptions.php @@ -603,7 +603,7 @@ if ( ! class_exists( 'PostmanOptions' ) ) { * @see PostmanOptionsInterface::getSenderEmail() */ public function getSenderName() { - return $this->getMessageNameEmail(); + return $this->getMessageSenderName(); } /** -- cgit v1.2.3