utopia-php / messaging

Lite & fast micro PHP messaging library that is **easy to use**.
MIT License
14 stars 64 forks source link

Added Mailchimp Email Adapater #45

Open AVDiv opened 8 months ago

AVDiv commented 8 months ago

What does this PR do?

This PR contains an implementation of the mailchimp transactional email adapter.

Test Plan

1. Setup your mailchimp account

2. Setup the Mandrill credentials

3. Install relevant PHP Extensions and Dependencies

Example (linux-based systems):

sudo apt update &&
sudo apt install php-curl php-mbstring php-xml
composer install

3. Test the project with relevant Environment Variables

TEST_EMAIL - The recipient email address TEST_EMAIL_FROM - The sender email address MAILCHIMP_API_KEY - The mailchimp API key

MAILCHIMP_API_KEY=<YOUR_MAILCHIMP_API_KEY> TEST_EMAIL=<YOUR_RECIPIENT_EMAIL> TEST_FROM_EMAIL=<YOUR_SENDER_EMAIL> ./vendor/bin/phpunit tests/e2e/Email/MailchimpTest.php

Related PRs and Issues

closes: https://github.com/appwrite/appwrite/issues/6388

Have you read the Contributing Guidelines on issues?

Yes

wess commented 8 months ago

Please run pint/linter :)

AVDiv commented 8 months ago

@wess Resolved linting errors, Please check now. I'm not allowed to request reviews

AVDiv commented 8 months ago

Hey @wess, any updates?

AVDiv commented 8 months ago

Group 16 (1) These are the test results

AVDiv commented 4 months ago

Discord username: @devl1n3