SendGrid Presents: Code Workshop Warren Duff May 30, 2014 Product // SUMMARIES ?> The following announcement comes from SendGrid’s Support team. One of our primary goals at SendGrid is to make integrating with our platform and sending email as easy as possible for our customers. To help you accomplish this, we’ve developed a new tool called Code Workshop. Code Workshop provides customers a place to test their code in multiple code languages. In addition to generating code examples, Code Workshop can be used to construct JSON content for use with SMTP API headers. SendGrid’s Code Workshop has two fields. In the first, you can enter all of your message information, including “to” and “from” addresses, subject, and body text. As you enter this information, the second field generates the coded version of that information in whatever language you choose. In addition to this awesome ability to generate code, Code Workshop provides a way to troubleshoot issues in addition to contacting SendGrid Support. Below are a couple of examples of how Code Workshop can be utilized: Example 1 – Trouble Sending Transactional Email with Ruby After visiting SendGrid Docs and viewing the Ruby example, you’re still getting error messages and are unable to send a message. In addition to contacting Support, you can now visit the SendGrid Code Workshop, enter your information for Ruby, and generate a working example of the integration that can be plugged in, allowing you to successfully send mail with SendGrid. Example 2 – Using Code Workshop to Better Use SMTP API and Send to Multiple Recipients You are trying to send a message to 500 recipients, but you’re unfamiliar with the SendGrid SMTP API. The Code Workshop provides a step-by-step wizard that details how to add multiple recipients, unique arguments, and categories. During each step, live code examples are generated that you can export, modify, and use to send your message. Finally, Code Workshop can be used to generate code examples for message attachments. Simply go to the Advanced Options section of Code Workshop where you can select “Add an attachment.” Once checked, Code Workshop will generate a code example for you to use. To learn more about Code Workshop, you can visit Code Workshop on the Docs page to try it out for yourself. Make sure you’ve signed up for a SendGrid account, so you can start sending email today!