Mandrill ValidationError

后端 未结 7 2524
花落未央
花落未央 2021-02-20 06:51

Very excited to be asking my first question on StackOverflow. I\'ve been relying on it to teach myself quite a lot over the years!

My question is this. I am getting the

7条回答
  •  甜味超标
    2021-02-20 07:08

    In Laravel 7.x, Mandrill is no longer part of core. If, like me, you are using therobfonz/laravel-mandrill-driver, you might also see a similar error if you fail to set Mandril key in your .env file.

    I had this MANDRILL_SECRET=h3xxxx but I needed this MANDRILL_KEY=h3xxxx.

    To verify which key you are calling, look for this chunk in config\services.php

        // Mandrill is no longer core laravel...
        'mandrill' => [
            'secret' => env('MANDRILL_KEY'),
        ],
    

    Another symptom of not calling your key is that your failed calls will not show up in your Mandrill api-log listings (since the missing key means Mandrill.com doesn't know where to post the failed attempt).

提交回复
热议问题