You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not familiar with postal2 but in postal3 the dsn has no password, also in postal 3 the message_id is inside the data key.
How to reproduce
just installing and using with a postal3 server
Possible Solution
in PostalTransportFactory.php calling $apiToken = $this->getPassword($dsn); results in a password not set error. but postal3 has only an api key. changing to $apiToken = $this->getUser($dsn); solves the probelm.
in PostalApiTransport.php the line $sentMessage->setMessageId($result['message_id']) throws an error. changing to $sentMessage->setMessageId($result['data']['message_id'])
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected
7.2 and up
Description
I am not familiar with postal2 but in postal3 the dsn has no password, also in postal 3 the message_id is inside the data key.
How to reproduce
just installing and using with a postal3 server
Possible Solution
in PostalTransportFactory.php calling $apiToken = $this->getPassword($dsn); results in a password not set error. but postal3 has only an api key. changing to $apiToken = $this->getUser($dsn); solves the probelm.
in PostalApiTransport.php the line $sentMessage->setMessageId($result['message_id']) throws an error. changing to $sentMessage->setMessageId($result['data']['message_id'])
Additional Context
No response
The text was updated successfully, but these errors were encountered: