Comments (4)
I just tried and I get exactly the same error as you did.
git clone https://github.com/humanmade/aws-ses-wp-mail.git aws-ses-wp-mail
cd aws-ses-wp-mail
composer install
The plugin is active and the constants are set in wp-config.php
from aws-ses-wp-mail.
This was intentionally removed in #41 as it wasn't easy to keep it up to date.
The ideal approach is to install plugins like this via composer, rather than installing composer dependencies per plugin e.g.:
composer require humanmade/aws-ses-wp-mail
Then you could include your project's root level vendor/autoload.php
in wp-config.php
for example. This means if you have multiple plugins making use of the AWS SDK (such as S3 Uploads) it only needs one shared copy of the SDK in your codebase.
from aws-ses-wp-mail.
OK, added this line on the top for composer
auto-loading and now I am able to send with wp-cli
:
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
from aws-ses-wp-mail.
In a previous version the AWS autoloader was required in SES::get_client(). This was removed when the SDK was removed
from aws-ses-wp-mail.
Related Issues (20)
- Fails to use key & secret on local dev environment HOT 5
- Correct typo in for WP-CLI in the readme
- AWS_SES_WP_MAIL_USE_INSTANCE_PROFILE is not actually used HOT 3
- Undefined index: domain
- Headers should be handled case-insensitively HOT 6
- trigger_error has too many parameters HOT 1
- Gravity Forms HTML email notifications formatting issues and incorrect from email HOT 1
- trigger_error not called correctly?
- Add support for attachments HOT 3
- Allow external AWS SDK HOT 1
- Update AWS sdk as its out of date. HOT 9
- Submitted for verification. Make sure you have the following DNS records added to the domain:
- Encode Unicode site names before sending HOT 1
- Clean email subject content.
- SMTP_FROM and SMTP_NAME HOT 1
- The `pre_wp_mail` filter is not respected
- Docs: explain how the WP-CLI integration works HOT 9
- Support Reply-To header HOT 2
- Make note for Moving Out of the Amazon SES Sandbox HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-ses-wp-mail.