Send Mailchimp Campaign to Single Email Address - mailchimp

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

Related

Passing custom data to Stripe email receipt

I'm using Stripe's Payment Intents API (via a Payment Element) to accept payments on a site and automatically send email receipts on successful payment. I now need to send the product (a digital code) to the user inside of the receipt email, but the closest solution I've found to do this is using the description parameter of the Payment Intent object.
Unfortunately, Stripe displays the description as part of the order summary with a redundant item price right next to it:
This doesn't does look the best and I'd prefer to be able to pass in a separate section of the email, such as above the order summary.
Is there a more natural way this can be done with Stripe's email receipts?
When passing custom data to Stripe email receipt, the solution you found (e.g. to pass that data via the description parameter) is the only option on the automatic email receipts. Alternatively, you can listen to payment_intent.succeeded webhook event and handle emails from your end.

Is there an API to get e-mail smtp information (for GMail)

I want to send an e-mail using gmail API.
I want to know if the email was received successfully. And if not, what the problem. (Such as SMTP Log)
I can use Google Admin G-Suite if need.
How can I do it?
Thank you.
What you are looking for is Request read receipt after an email is sent. This would notify the sender when the recipient reads the email.
This is not something that is currently available in the gmail api. you may want to consider submitting a feature request here

Setting my own DKIM in Mailchimp

What do i need to send my emails with DKIM , but with my own DKIM signature and no via the 'authenticate this campaign' checkbox.
Mandrill offers a DKIM & SPF steps for setting but Mailchimp doesn't.
Any suggestions?
When you select Mailchimp's checkbox option to authenticate campaign, Mailchimp is able to automatically attach authentication to your email campaigns without you setting up explicit approval on your server because if you look at the headers of the email when you send it, they are never really affiliating with your server. It will appear as though your campaign was sent from:
you#yoursite.com
But if you look closely at the headers of the email you will find something similar to FROM:
From: =?utf-8?Q?you?=you#yoursite.com
And the sender will say something like:
you=yoursite.com#mail94.us2.mcsv.net
So all of the authentication is set up by Mailchimp on Mailchimp's own outbound SMTP servers, there is never really any interaction with your server.. yoursite.com.
Thus, to answer your question, it's impossible to use your own DKIM signature and send your emails via Mailchimp because the emails would have be getting sent from your domain.. but they're not.. they're being sent from any number of hundreds of servers that Mailchimp owns.
For DKIM, as David noted, you just need to enable their checkbox. If you want to use your own domain, and not showing on behalf of, then just update the SPF record that you have and their servers as allowed.
This will allow you to enable DMARC too.

Service that allows customised content newsletters

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.

Sending Email receipt from Authorize.net transaction on my website

I am using Authorize.net AIM on my website to accept donations/payments. Authorize.net automatically sends an email receipt to the customer once they have made the purchase, but I wish to disable this and send an email using my own email receipt template (in .html).
Previously I have sent emails using this format after I have inserted a username and email address into mySQL from a form on my website - it worked great.
I now wish to do this same thing, but instead of inserting information into a database, using the information from their donation (amount, email address, confirmation) to send them an email.
I was using Swift to send the emails. This worked great.
How would I use php to do the same thing but with the information from my authorize.net coding?
You could use Authorize.net's API and SDK and call the GetTransactionDetailsRequest with the transId and pipe the results to your customer's email with your own custom HTML email template.

Resources