From a1418420d0b732cfcc6bdc9017594750c5e4e615 Mon Sep 17 00:00:00 2001 From: yoye Date: Wed, 4 Sep 2013 16:18:40 +0200 Subject: [PATCH] Update MessageBuilder.php --- src/Mailgun/Messages/MessageBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mailgun/Messages/MessageBuilder.php b/src/Mailgun/Messages/MessageBuilder.php index 46c4772..4ac1912 100644 --- a/src/Mailgun/Messages/MessageBuilder.php +++ b/src/Mailgun/Messages/MessageBuilder.php @@ -51,7 +51,7 @@ class MessageBuilder{ if($fullName != null){ return "'$fullName' <$address>"; } - return $baseAddress; + return $address; } protected function addRecipient($headerName, $address, $variables){ @@ -284,4 +284,4 @@ class MessageBuilder{ return $this->files; } } -?> \ No newline at end of file +?>