Open craigrileyuk opened 1 month ago
I got it to send making the following changes to this package:
// SendService.php line 30
public function raw(RawMessage $message): Result
{
return $this->client->prepareResponse(
$this->client->getHttpClient()->post('send/raw', [
'json' => $message->attributes,
]),
Result::class,
);
}
Thanks for letting us know about this, looks like the other message got refactored away from using an attributes array.
Would you be able to test out a similar refactor in the RawMessage class?
Yeah sure.
Pull request version sends fine now
Thanks for the work, I've also added in a test for the endpoint URIs so should help people in the future. You should be able to updated to 2.0.2 and confirm it still works and feel free to close when its all settled.
Postal Server: self-hosted 3.3.4
Trying to send a message using the raw RFC 2822 spec and I'm getting a "NoRecipients" error back from the API.
Everything seems formatted properly if I dump the message before it leaves, but the API always returns an error.