We have a series of transactional emails in Mandrill (aka MailChimp Transactional) that we need to send to our customers. We can use merge_vars to send to multiple recipients at once, but we're also using mc:edit in our templates. This means we're making use of template_content.
Is there any way to send custom template_content to multiple recipients at once? The documentation doesn't explicitly mention this scenario.
No, it is not possible. The best solution is to use merge_vars and the added functionality of Handlebars.
Related
I have an application that I have to integrate with the outlook via Graph API. I need to retrieve the conversations which I am getting using the Graph Mail API. But the graph API is not able to return the object of the email in the form of threads(like that of a conversation thread between two email ids). Also, there is no field in the object that can specify to which thread a particular email belongs so that I can group them in my app.
Is there any way I can achieve the same.
Honestly, I think there is some severe lack of documentation on this everyday use case.
The solution it seems is to filter your messages by the conversationId.
See this answer: https://stackoverflow.com/a/63570384/2591194.
I'm new in laravel. I have to use email feature in my project. In Laravel Docs, I got Mail and Notification options for sending email feature. Now I want to know which one should be used and why?
Please Note: I will use ShouldQueue as well.
If you want to send the information via just one channel, say email only, then use Mailable. If you are likely to send the information as email or SMS, some other medium or multiple(eg. email and SMS), your best bet is to use Notification.
You should use Mailable, if each email you send out has different layout. Mailable is a very flexible way to send emails. And it's more customizable than Notification.
Notification is useful if you have to send a predefined layout in differents channel.
You can customize notifications layout, but it's not advisable as it's out of scope to have more than one layout of notification.
According to this laracasts video
"a general rule of thumb, what's nice about Notifications is you are notifying the user in response to some action that took place on the website, so they made a payment, they close their account they liked something these are all responses to an action."
I use the Mail facade for marketing, for example: to inform the new features in our website, inform some special day is coming soon, etc.
I'm creating custom emails (many customizations) in MailChimp campaign builder. Looks like the only option to send is via a campaign, which I'd need to manually upload a list of email addresses. I honestly just want to use the builder to send a quality form email, that I customize for each recipient.
Is it possible to send an email to a specific email address without building a list, etc? This will probably be a one-time thing.
You can send campaign to single email address in mailchimp through this method. However you can't send the same campaign more than once to same email address.
create an automation email with API 3.0 as trigger.
Now, to send a campaign, make POST call to the given url with email address in your mailchimp
https://us19.api.mailchimp.com/3.0/automations/********/emails/********/queue
Now, To call that api you need to add HTTP BAsic Auth or OAuth 2 to API Request. See this answer MailChimp 3.0 HTTP POST Json Example
There's also a npm module to make life easier https://npmjs.com/package/mailchimp-api-v3
This is just a workaround as mailchimp was not built for single emails. In the longer run I'd suggest you to look into mandrill, sendgrid or other transactional email tool.
You are better off using Mandrill, MailChimp's transactional email app, to send one off emails. You can still use or at least make use of MailChimp campaigns but you can send one off emails that are customised and you do not need to send to a list
I'm working with actionmailer. I'm trying to send a mail from email_idA to email_idB, then fetch that email from email_idB, and do some string operations on it to look for specific keywords.
I understood how to send the email. But how do I receive that email from email_idB's inbox? What configurations do I need to do? And how do I extract the email body as plain text?
Did you mean fetch or receive ? Your question uses both these terms and not sure what you mean.
If you just want to do a keyword search on the mails you sent, why not store the outgoing mail in DB and do the search ? (as you said "somehow fetch that email")
To be able to receive emails in your rails app, you would need to implement the receive method in your mailer. Follow this link - link
If you meant fetching emails from your inbox then you have to use POP3. Follow this SO answer - link
Im not sure whats your requirement but I'm sure you will find the above links useful :)
I am currently looking at building a web app that allows a user to sign in and receive a list of their tweets from the previous week in an email this information will be stored and pulled in from a db
Now at first I thought I could use something like postmark but this is apparently only for transactional emails and not bulk newsletters. I guess mine would be a newsletter as it would send to lots of people at the same time every week. But my question is how could I use a service like mailchimp that would allow completely customised content for each recipent? Is this possible with a service like mailchimp or campaign monitor?
If you want customized content per subscriber in the one email campaign (dynamic content), MailChimp is the way to go. Campaign Monitor has yet to implement that functionality.
Another option if you're a developer is to use Sendgrid.