-
Notifications
You must be signed in to change notification settings - Fork 17
(WP) SendGrid explanation
What is SendGrid?
SendGrid's cloud-based email infrastructure.
Simply saying it gives us API to send emails with out strait connecting to SMTP server or using other (on WP poor and limited) API's.
We use SendGrid to crash reporting. When unhanded exception occurs LittleWatson class grabs all log files, device and user informations and send them to us by email.
Why not use EmailComposeTask? you will ask for sure. I can tell you why: BECAUSE IT'S THE MOST USELESS API EVER MADE. You can't add any attachments to your mail and your message must fit into 64 KB... Yea you read it right 64KB.
Why then not connect to SMTP server on our own? Truth is we can try to do that but it's not trivial. SMTP isn't officially supported for WP apps. We can do everything manually but if we really want to... Answer is on, SendGrid is much easier.
First very important info is that we use it for free at lest until we don't send more than 25 k mails per month.
To achieve such sale we created SendGrid appservice on Windows Azure. Thanks to this partner ship we've got free 25 k mails per month.