Skip to content

Issue of Unsupported mail transport [mandrill]. #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ashishakya opened this issue Jan 7, 2025 · 0 comments
Open

Issue of Unsupported mail transport [mandrill]. #12

ashishakya opened this issue Jan 7, 2025 · 0 comments

Comments

@ashishakya
Copy link

ashishakya commented Jan 7, 2025

I migrated my application from Laravel 5 to Laravel 8
I am using this package ( "intonate/laravel-mandrill-driver": "^2.0") for the transactional email.

But when sending emails, I often get this issue.

my config/services.php looks includes:

return [
.... // other config
   'mandrill' => [
        'secret' => env('MANDRILL_SECRET', ''),
    ],
]

my config/mail.php include

return [
    'driver' => env('MAIL_DRIVER', 'smtp'),
    'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
    'port' => env('MAIL_PORT', 587),
   'from' => [
        'address' => env('MAIL_FROM_ADDRESS', 'default'),
        'name' => env('MAIL_FROM_NAME', 'default'),
    ],
   'username' => env('MAIL_USERNAME'),
    'password' => env('MAIL_PASSWORD'),
    'sendmail' => '/usr/sbin/sendmail -bs',
    "mailers"=>[
        'mandrill' => [
            'transport' => 'mandrill',
        ],
    ]
]

and in .env I'm using keys like

MAIL_DRIVER=mandrill
MAIL_HOST=smtp.mandrillapp.com
MAIL_PORT=587
MAIL_USERNAME="<user_name>"
MANDRILL_SECRET="<mandrill_api_key>"
MAIL_ENCRYPTION=tls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant