GithubHelp home page GithubHelp logo

Comments (4)

henrywright avatar henrywright commented on July 20, 2024 1

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.

roborourke avatar roborourke commented on July 20, 2024 1

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.

alikuru avatar alikuru commented on July 20, 2024

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.

henrywright avatar henrywright commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.