Coder Social home page Coder Social logo

convergine / craft-brevo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 77 KB

Brevo mailer adapter for Craft CMS.

Home Page: https://plugins.craftcms.com/convergine-brevo?craft4

License: Other

PHP 91.10% Twig 8.90%
brevo craft-plugin craftcms craftcms-plugin sendinblue

craft-brevo's People

Contributors

convergine avatar konstantin-convergine avatar moritzlost avatar

Watchers

 avatar

craft-brevo's Issues

Using an environment variable for the API key doesn't work

Using an environment variable for the API key doesn't work.

To reproduce:

  1. Add this to your .env:
BREVO_API_KEY="your-key-here"
  1. In the email settings, set Transport Type to Brevo and API Key to $BREVO_API_KEY (the field indicates that this is supported).
  2. Try to send an e-mail: php craft mailer/test [email protected]. This will fail with HTTP 401 and message "Key not found" returned by the API.

The reason is that the plugin doesn't actually parse the environment variable, so it literally uses $BREVO_API_KEY as the API key.

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.