Skip to content

postal-mailer: changes in postal3 #60727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
e9li opened this issue Jun 6, 2025 · 1 comment
Open

postal-mailer: changes in postal3 #60727

e9li opened this issue Jun 6, 2025 · 1 comment

Comments

@e9li
Copy link

e9li commented Jun 6, 2025

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

@e9li e9li added the Bug label Jun 6, 2025
@e9li e9li changed the title postal-mailer: changes in postal3? postal-mailer: changes in postal3 Jun 6, 2025
@xabbuh xabbuh added the Mailer label Jun 6, 2025
@fabpot
Copy link
Member

fabpot commented Jun 7, 2025

Can you have a closer look and maybe create a PR to address the problem?

Bridges are only maintained by the people using them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants