Fork us on GitHub

SendGrid cn1lib

Replacement for the cloud email feature which is now deprecated
SendGrid cn1lib

SendGrid cn1lib

When we announced the migration to the new cloud servers one of the casualties was the cloud email API. This was a well intentioned API for sending an email from an app. Unfortunately we didn’t understand the complexities of modern mail systems well enough when we came up with this API. It turns out that this is pretty problematic. Mail servers get blacklisted and emails fail to deliver.

The problem is that this impacts everyone, if one bad actor sends spam with our cloud servers all of us get blacklisted…​

The solution is simple. We now have a new cn1lib for SendGrid. If you aren’t familiar with SendGrid it’s one of the several leading transactional e-mail providers. They offer 100 free emails per day. They provide a powerful developer REST API which we utilize in this cn1lib.

If you are using the cloud email feature we strongly suggest migrating your code to this cn1lib ASAP. We usually try to give more notice in advance but the app engine backend is something we need to remove in the near future.

Note that this only applies to the send email via cloud API’s and not to the standard send email API’s which are just fine!

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.