Skip to content

Commit

Permalink
Fixed message id
Browse files Browse the repository at this point in the history
  • Loading branch information
korridor committed Jan 6, 2023
1 parent c074320 commit 8c21627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transport/ScalewayApiTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function doSendApi(SentMessage $sentMessage, Email $email, Envelope $e
throw new HttpTransportException('Unable to send an email: '.$result['message'].' Details: '.print_r($result, true), $response);
}

$sentMessage->setMessageId($result['id']); // TODO: what is message_id
$sentMessage->setMessageId($result['emails'][0]['id']); // TODO: what is message_id

return $response;
}
Expand Down

0 comments on commit 8c21627

Please sign in to comment.