Lime Newsletter is a Lime CRM add-on for creating and sending email campaigns and newsletters. Benefits include: personalization with CRM data, email templates, dynamic content, and subscriber management.
Supports only Laravel > 7.0.
Add the following to your composer.json
composer require lundalogik/laravel-newsletter-driver
Change default mail driver and add new variables to your .env file:
MAIL_MAILER=newsletter
LIME_NEWSLETTER_API_KEY = <YOUR_NEWSLETTER_API_KEY>
LIME_NEWSLETTER_USER_EMAIL = <YOUR_NEWSLETTER_USER_EMAIL>
LIME_NEWSLETTER_ACCOUNT = <YOUR_NEWSLETTER_ACCOUNT_NAME>
Add section to the config/services.php file:
'newsletter' => [
'api_key' => env('LIME_NEWSLETTER_API_KEY'),
'user_email' => env('LIME_NEWSLETTER_USER_EMAIL'),
'account' => env('LIME_NEWSLETTER_ACCOUNT'),
'base_url' => env('LIME_NEWSLETTER_BASE_URL', 'https://qa.bwz.se/bedrock/'),
],
You also need to specify new available mail driver in config/mail.php:
'mailers' => [
...
'newsletter' => [
'transport' => 'newsletter',
],
],