Using mailchimp API in Laravel 5.2 - laravel

I want to send mail to my all users with his blog post using mailchimp API in laravel 5.2. And application will send mail frequently 30 minutes later after.
How will I solve it?

Here you need to done two task:
1) Setup mail with mailchimp(Third party API) and
2) use that setup for laravel schedule
to send periodic(Every 30 min) mail.
You can use mailchimp-api as Third party API. Follow given instruction for complete mailchimp configuration.

Related

Send message and files to whatsapp using laravel

How can I send WhatsApp message using laravel?
Please help me to find out with the environment setup.
wp::send('work.data', ['user' => $seleteced_pic], function ($m)
Should it be this way?
In Laravel there are no build in ability to send messages via WhatsApp.
You will need to integrate with WhatsApp API or use third party serves.
The first google search give me this result. https://www.twilio.com/blog/create-laravel-php-notification-channel-whatsapp-twilio
One of the third party serves that simplify iteration with messaging serves.
But you could integrate with WhatsApp directly.
https://www.whatsapp.com/business/api

Laravel and Doppler integration. How can i sign my emails with DKIM?

I want to use Doppler for email campaigns, now, I was searching about something called DKIM and that i have to sign my emails with it in order to send my emails. How can i do so?
I'm using Laravel 5.6 and Doppler API!
Edit: I could not find anything about Laravel and Doppler integration, this is why in here.

Sending web push notifications from Laravel

I have a website running Laravel in the back-end, where users can create reports for other users.
When the report is created I would like to send a push notification to recipient user's desktop.
Do I need to use services like Pusher, OneSignal?
Any useful site with examples would be appreciated.
Your question
You could use Pusher, Redis/Socket.io, Pubnub, etc. Which one to use? well, this is more an opinion-based question.
These services broadcast events, then in your client apps (like your web front-end) you configure the client-side libraries of the service you choose to subscribe (to channels) and listen to those events. The documentation explains it better.
Examples/tutorials
Pusher
This is a tutorial published by the Pusher team.
Redis/Socket.io
This one
is a Laracasts series about this.
Just google.
Update
There is a Laravel-specific alternative, a package created exclusively for Laravel:
Laravel WebSockets
This is the post talking about the package and its inner working.
This is the repo.
Here you have the documentation.
If you like to show Native Desktop notification then i would suggest Web Push notification. In this way once user subscribed to push notification ,they will get real time notification and does not need to be on your website.
https://github.com/laravel-notification-channels/webpush

MailChimp send email v3.0

The version 2.0 of MailChimp APIs has a campaign send API. However I don't find any similar API on v3.0. I do find an automation API where in I can start a workflow, however it appears from the documentation that workflows can't be created using APIs and can be created only using the GUI.
The requirement is to be able to send emails using MailChimp API. Please advise.
It's now possible to both create and send a campaign through the V3.0 API.
See the 'Action' tab here
You can send to a saved segment, but as far as I can tell, there's no way to create a saved segment via the API.
You actually cannot send one on one email with APIv3.0. Mandrill now takes over for the transactional emails.
It's not yet possible to edit or create campaigns in API v3.0. See the API v3 roadmap.

Best solution for send newsletter with codeigniter

please help me for best solution send newsletter never server exim banned and ip blocked ,i have share hosting, if you have a good script suggest me,t hank you every one
We use Mailchimp for Newsletters & Mandrill for Transactional Mails in our Codeigniter App.
You will also find api libraries available for codeigniter for Mandrill & Mailchimp.
The other options are PostMark, Sendgrid etc which are easy too. It basically comes down to which is cheaper & that depends on your volume of email

Resources