Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/evomark/public_html/wp-includes/functions.php on line 6121

Warning: Cannot modify header information - headers already sent by (output started at /home/evomark/public_html/wp-includes/functions.php:6121) in /home/evomark/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/evomark/public_html/wp-includes/functions.php:6121) in /home/evomark/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/evomark/public_html/wp-includes/functions.php:6121) in /home/evomark/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/evomark/public_html/wp-includes/functions.php:6121) in /home/evomark/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/evomark/public_html/wp-includes/functions.php:6121) in /home/evomark/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/evomark/public_html/wp-includes/functions.php:6121) in /home/evomark/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/evomark/public_html/wp-includes/functions.php:6121) in /home/evomark/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/evomark/public_html/wp-includes/functions.php:6121) in /home/evomark/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896
{"id":642,"date":"2024-07-03T08:44:00","date_gmt":"2024-07-03T07:44:00","guid":{"rendered":"https:\/\/evomark.co.uk\/?page_id=642"},"modified":"2024-07-03T04:56:40","modified_gmt":"2024-07-03T03:56:40","slug":"laravel-brevo-mail","status":"publish","type":"page","link":"https:\/\/evomark.co.uk\/open-source-software\/laravel-brevo-mail\/","title":{"rendered":"Laravel Brevo Mail"},"content":{"rendered":"\n

A quick package for the Laravel aficionados out there, this one adds support for using Brevo (formerly SendInBlue) as the application mailer. This means all you have to do is add your api token to your .env file, change one setting and away you go!<\/p>\n\n\n\n

composer<\/span> require evo-mark\/evo-laravel-brevo<\/span><\/div><\/code><\/pre><\/div>\n\n\n\n

Your Laravel application should now automatically load the package’s service provider.<\/p>\n\n\n\n

Setup<\/h2>\n\n\n\n
\/\/ .env<\/span><\/span><\/div>
\n<\/span><\/div>
MAIL_MAILER<\/span>=<\/span>brevo<\/span><\/div>
MAIL_FROM_ADDRESS<\/span>=<\/span>\"example@example.com\"<\/span><\/span><\/div>
MAIL_FROM_NAME<\/span>=<\/span>\"Example\"<\/span><\/span><\/div>
BREVO_API_KEY<\/span>=<\/span>\"<your api token here>\"<\/span><\/div><\/code><\/pre><\/div>\n\n\n\n
\/\/ config\/mail.php<\/span><\/span><\/div>
\n<\/span><\/div>
<\/span>'mailers'<\/span> <\/span>=<\/span>><\/span> <\/span>[<\/span><\/span><\/div>
<\/span>'brevo'<\/span> <\/span>=<\/span>><\/span> <\/span>[<\/span><\/span><\/div>
<\/span>'transport'<\/span> <\/span>=<\/span>><\/span> <\/span>'brevo'<\/span>,<\/span><\/span><\/div>
<\/span>]<\/span>,<\/span><\/span><\/div>
<\/span>]<\/span><\/div><\/code><\/pre><\/div>\n\n\n\n

and there you have it. Your transactional mail will now send through your Brevo account.<\/p>\n","protected":false},"excerpt":{"rendered":"

A quick package for the Laravel aficionados out there, this one adds support for using Brevo (formerly SendInBlue) as the application mailer. This means all you have to do is add your api token to your .env file, change one setting and away you go! Your Laravel application should now automatically load the package’s service…<\/p>\n","protected":false},"author":2,"featured_media":643,"parent":218,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/open-source-software.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-642","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/pages\/642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/comments?post=642"}],"version-history":[{"count":1,"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/pages\/642\/revisions"}],"predecessor-version":[{"id":644,"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/pages\/642\/revisions\/644"}],"up":[{"embeddable":true,"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/pages\/218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/media\/643"}],"wp:attachment":[{"href":"https:\/\/evomark.co.uk\/wp-json\/wp\/v2\/media?parent=642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}