I am using Sendgrid for mass-mailing. I use multiple categories for different emails, after sending the email I want to get all the responses of the email which is sent at Sendgrid side through the API used for sending the mail.
I am getting response of opening the email but exactly which email is opened that I'm not getting. I want to keep track of each email; is there any need to create common parameters on our server side?
To view stats on individual emails, you can use the Email Activity page, but that only gives you a week's worth of data due to log rotation. There is currently no pull API for this data.
To gather this data programmatically and store it, SendGrid provides an Event Webhook that will push events to a URL you define in near real-time.
If you still want to associate custom parameters with individual emails, that can be done using Unique Arguments
Yes, there is a way to do this by using unigue_args parameter. A built-in option would be to use category parameter. You can then add this tag when sending out the email via server side.
<php? $hdr->setCategory('Bounce Notice'); ?>
This would be the returned format.
{
"category": "Example Category"
}
I have been building [a repo][2] with a working example of the event notification API which stores information into a local databae. This process will log any of the following: delivered, bounced, delayed, clicked, etc. SendGrid will post events to a script of your choosing via the Apps section in your account.
GitHub repo of Sendgrid Event Notifications
Related
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.
I have had a look online but couldnt find any information on this even though I feel it would be a regular question, I have a shop at the moment that has been built and runs via html code. The user purchases an item then I get an email from paypal with all the information (address, item etc).
I was wondering is there a way I can pull the information from the email and place it automatcially into a pdf delivery note? At the moment I copy and paste then send it to the warehouse however it would be great if I could get this process done automatically...
Instant Payment Notification (IPN) is what you want to use for that.
Any time a transaction hits your PayPal account their server will POST all of the data about that transaction to a listener script on your server. Your script receives that data and can process it accordingly, including updating your database, hitting 3rd party web services, or simply sending out email notifications with attachments.
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 want to send mails through single list every week. html mail and text mail both.
It is possible to create one list like "12548" and add the different user like "abc#gmail.com","xys#yahoo.com", and more.
Sent the one html newsletter for one user. means different user for different html newsletter.
Also sent me process with fuel sdk (php).
I have one list like "Newsletter(12548)" which has 5000 users.How i send the newsletter to every user.So i want to send the newsletter to every user with different html newsletter.
Every user is having separate newsletter.I am using this concept but i want to have one list and send different/customised newsletter to every user.
How can i achieve this?
ExactTarget has a server-side scripting language called AMPScript that allows you to send emails with dynamic content to a list of subscribers. So, you don't want to actually be sending 5000 different pre-created emails to 5000 different people for what should be a single send; you can create one email in ExactTarget that uses AMPScript to personalize the email for each subscriber on a list (this is described briefly at the bottom of the link you provided).
The email script runs separately for each subscriber on the list, so individual subscriber attributes are available in the scripting context for customizing the sent email content. If you are managing everything through the API with PHP, the HTML and AMPScript will need to be defined in a string for the body of the Email object being used in the send. The Email object should have separate properties for defining the HTMLBody versus the TextBody, and there is actually a default preference attribute on the subscriber that defines whether the HTML or text version should be used.
AMPScript documentation:
http://help.exacttarget.com/en/documentation/exacttarget/content/ampscript/
I want to receive emails from mobile phone and display it on my website implemented PHP.
My site is a free messaging system that sends messages to mobile phones using sendgrid API
I want to display messages from cell phones on my website. Is there any API available ?
You don't need any APIs to do this task. What you need is to setup mail server on your server to be able to receive emails. It's nothing difficult in sms to emails. It's absolutely identical to regular emails. So you should setup your mail server to call your receiver script which will process the email, insert into your database etc. Take a look at exim or qmail.
How it will work:
your website sends email to, lets say, 91700000001#vtext.com from user#yourwebsite.com
91700000001 replies to user#yourwebsite.com that goes to your mail server
you have filter on your mail server to check, for example, if emails came from carriers domain (vtext.com, att.com etc), and hit your receiver script
the receiver scripts gets an email, parse it, inserts into the database
your display the data from the db on your website
Email from mobile? Do you meant text (sms)? Every mobile phone can receive email if they have internet connection. Your question is not very clear, can you rewrite your question to understand very clearly.
SMS GupShup
GupShup Apps platform will allow you to create sms applications that will allow your website to interact with your system.
Check out the FAQ first to see if it meets your requirement.
Then check the requirements for creating your application.
You can find the list of APIs here.
Sample Code (click on Quote App in PHP on extreme left.)