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.
Related
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.
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.
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.
I am using heroku, php and javascript, I am a complete newb.
I have a facebook app that asks the user for their name, birthday and email address. I want this information emailed or inboxed to me or better yet create an event on my xxxbirthdays calendar?
Facebook can't send emails for you. You'll have to implement sending emails in your server side code. Easiest to use the built in php mail() function.
Friend's birthdays already appear on your calendar, but here is the documentation for creating events -
on behalf of a user - https://developers.facebook.com/docs/reference/api/user/#events
on behalf of a page - https://developers.facebook.com/docs/reference/api/page/#events
I want to send Chat Invitation to multiple users of Gmail, from my database list. How can it be done using PHP?
example: My data table contains some list of email address(i.e abc#gmail.com, def#gmail.com....), and i want to send all these email address an invitation from my end(i.e me#gmail.com or me#jabber.com)
You will want to take a look at this I believe, I've had it in my scrap book of things to play with for awhile so I can't offer much more advice than that.
http://code.google.com/p/xmpphp/