Skip to content

Commit

Permalink
Merge pull request #70 from sb8244/master
Browse files Browse the repository at this point in the history
Update SendGridService.php
  • Loading branch information
Jurian Sluiman committed Apr 14, 2014
2 parents 467df5f + 5ddcc69 commit dfff837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlmMail/Service/SendGridService.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function send(Message $message)
$post = $client->getRequest()->getPost();
$attachments = $this->extractAttachments($message);
foreach ($attachments as $attachment) {
$post->set('files[' . $attachment->filename . ']', $attachment->getRawContent() . ';type=' . $attachment->type);
$post->set('files[' . $attachment->filename . ']', $attachment->getRawContent());
}

$response = $client->setMethod(HttpRequest::METHOD_POST)
Expand Down

0 comments on commit dfff837

Please sign in to comment.