how to send transactional emails using constant contact in php - php

Present I am using Sendgrid for sending transnational emails after donating/ registering the user. and Constant Contact for sending news letters to subscribed users in my website.
I want to use only one server for both.
Is there any possibility to send transnational emails using Constant Contact.
I have already searched in developer.constantcontact website. But there is no exact solution. In that they given api for adding emails to list in campaign. and creating campaign and sending email to all users in that list.
Is there any possibility to send email notification to registered/donated user immedieately without creating Campaign.
Please hemp me.

No.
You'll need to use something like Mandrill by MailChimp for transactional emails. Maybe CC will add support at some point, but I wouldn't count on it.

Related

Send Regular Email using MailChimp in Laravel

I'm using "spatie/laravel-newsletter" to subscribe users on signup. That is working fine. But now we need to send email to users when they purchase anything from our website.
I'm not able to find a way how can we send emails like we are currently sending from Laravel code using Gmail account from MailChimp.
Any lead would be helpful, what needs to be done on MailChimp dashboard side, what package of laravel might be useful and how we can send emails with it. Thanks!
Please find the below link for and E-commerce store trigger email, which show mailchimp will automatically sends an email when customer purchases a product.
https://mailchimp.com/help/all-the-classic-automation-triggers/#heading+e-commerce
It also has all sorts of trigger, which will automatically send email. Choose which best suits your requirement.
The spatie/newsletter package is only to send marketing emails from your laravel application. Mailchimp offers a separate PHP library https://github.com/mailchimp/mailchimp-transactional-php that can be used to send transactional emails using Mailchimp.
The documentation on this package should show you exactly what you need to do on the Mailchimp Dashboard and how you configure your app to send an email through Mailchimp
Transactional Emails are emails that you send that are event based (purchases, user registrations, etc).
Promotional emails like Newsletters are part of marketing emails.
I hope that clarifies and helps with your email configuration on your Laravel application.

Sending single mail using mailchimp API V3

We need to send single mail using MailChimp. Is there any provision in MailChimp to send mail without creating list.
According to my understanding we need to :
Create campaign
create list
Map list to campaign
So in case of say successful registration, do we need to follow these steps to send single mail or is there some workaround to avoid these many api calls.
Any help appreciated.
The Mandrill product (part of MailChimp) is intended for those kinds of one off emails. They call them "transactional" emails since they are based on the user's action.

Can Mandrill send bounced mail information to sender email

I'm building a service for a company. The users of the service will send survey links to a list of email addresses. I'm going to use Mandrill as an email engine for this. The service is built using Laravel.
The users will feed a list of email addresses to the service that will generate emails (unique for every email address) and send them through the Mandrill API.
BUT, of course there will be errors made by the users. They will feed some bad email addresses in and emails will bounce. I need to find of way of notifying the users of the service that some emails have bounced.
Is there a way to get Mandrill to send a list of bounced emails to the sender or reply address?
Me as a developer has the Mandrill account of course, but I'm not interested in the bounce information - that has to go to the users of the system. So they can take action and correct the errors.
Thank you.
I see from Mandrill API that it is possible to get the status of sent e-mails with call /exports/activity.json as described in https://mandrillapp.com/api/docs/exports.JSON.html#method-activity
If you get any bounced e-mails from there then you can manually send the corresponding messages to the users who you want to.

Best way to send email to clients from e-commerce website?

I'm building e-commerce website that will sell all kind of items,
what is the best way to send emails to clients?
Our selling department will send a lot of emails to customers, emails like delivery, newsletters, coupons, and etc..
I don't want to use mail() function because the customers will receive emails to spam box, what is the right way to do it?
There is a companies like benchmarkemail, icontact, mailchimp, do i need to use them?
It's important that you understand the difference between "transactional" and "non-transactional" email.
Sending a order invoice, password-reset or welcome aboard email is transactional. It is send from you (your website) to one specific email address.
A news letter is usually non-transactional in that the same email is send to multiple people at the same time and many countries have strict laws about how these emails can be send and how people should be able to unsubscribe from them.
For transactional email I would suggest to use a third party service such as Mandrill or Postmark. They will make it easy for you to make sure that email arrives in your customers inbox.
For news letters I would suggest you use a third party service such as Campaign Monitor or Mailchimp. They allow you to set up sophisticated campaigns and see reports on how well your marketing email performs.
I would suggest using SendGrid and they also have PHP libraries. They have a free plan which you can try out. They also support creating email templates on your account which really simplifies the mails you send. All your mail formatting and related code is no longer in your application. I've used it and been quite satisfied so far.
Edit and disclaimer :-) I don't work for SendGrid, just had a good experience using it that is all.
It wont go to the spam box if you use mail(), you just need to make sure you send your emails from a registered domain. You should also sign each email and make sure the SPF records are set up.
Links:
http://www.emailquestions.com/help-desk/2418-why-do-my-own-emails-go-into-spam.html http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=spf+records http://www.techtalkpoint.com/articles/setting-up-spf-records-in-cpanel-whm-and-namecheap/

PHP script to send email invitations to join a site

Are there any popular scripts to send invitations to join a website, to user's address book contacts? When he enters email ID and password, it should grab all contacts and email each one using swiftmailer. I only need the grabbing part :)
thanks
What you want to do is to use the API offered by some mail services to retrieve contact information. This is specific per email service. Google, Yahoo and most of the other email providers offer their own set of API that is what you want to use.
In this StackOverflow thread are contained information on how to use these API from PHP.

Categories