Add Adapters and tests for Mailtrap. #33
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR implements Mailtrap Email adapter.
Test Plan for Running the Mailtrap E2E Test
By default, the Mailtrap E2E test is marked as skipped.
To execute the Mailtrap E2E test suite, you will need a Mailtrap account with a domain attached and two valid email addresses associated with that domain. Please follow these steps:
Create a Mailtrap Account:
Set Up a Sender Signature:
Prepare Email Addresses:
Obtain Mailtrap API Key:
Install PHPUnit and Dependencies:
Run E2E Tests:
With the required setup complete, you can now execute the E2E tests, providing the necessary environment variables. Replace
YOUR_MAILTRAP_API_KEY
,YOUR_TEST_EMAIL
, andYOUR_TEST_FROM_EMAIL
with your actual Mailtrap API key, test email address, and from email address, respectively. Make sure thatYOUR_TEST_EMAIL
andYOUR_TEST_FROM_EMAIL
belong to the same domain as your Sender Signature.Related PRs and Issues
Closes: appwrite/appwrite#6391
Have you read the Contributing Guidelines on issues?
Yes