-
Notifications
You must be signed in to change notification settings - Fork 62
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
Feat 6396 Postmark Messaging Adapter #26
base: main
Are you sure you want to change the base?
Feat 6396 Postmark Messaging Adapter #26
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Thanks for the video as well!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey 👋 awesome work on your PR! We've approved your work and it'll be merged soon!
Hey there! There were a lot of big PRs during this Hacktoberfest, and we wanted to give everyone ample time to collaborate with our engineering team. If you were able to merge your PRs during October, amazing. If it’s still not merged, don’t worry about it either. Either way, we’ve got your Hacktoberfest swag minted and ready to ship. Please comment with your Discord username here so we can contact you about your shipping information to deliver your Hacktoberfest swag. |
thinkverse |
@thinkverse Will reach out soon. Trying to put forms together for everyone. Thank you for your patience! |
What does this PR do?
This PR implements a simple Postmark Email adapter.
Test Plan
Included test suite has been marked as skipped given no API key is available in CI. But the test plan is described as follows:
While Postmark provides an API key for testing the key only verifies the data is correct. So I opted to include a new E2E test for Postmark. To run it, a Postmark account with a domain attached and two email accounts are required.
Servers > My First Server > API tokens
utopia-php/messaging
root directory in a terminal.composer install
to install PHPUnit and related packages.Now the E2E can be executed with the provided API key as the environment variable
POSTMARK_API_KEY
. TheTEST_EMAIL
andTEST_FROM_EMAIL
must be open, real email addresses and are required to be of the same domain. Namely, the same domain as your Sender Signature.Included below is a video showing the E2E test running:
Screen.Recording.2023-10-02.at.04.25.07.mov
Related PRs and Issues
Closes: appwrite/appwrite#6396
Have you read the Contributing Guidelines on issues?
Yes. 👍