{"id":1816,"date":"2017-03-31T10:07:09","date_gmt":"2017-03-31T10:07:09","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=1816"},"modified":"2021-01-08T11:46:32","modified_gmt":"2021-01-08T06:16:32","slug":"sendgrid-with-ruby-on-rails","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/","title":{"rendered":"Send transactional emails using SendGrid with Ruby on Rails"},"content":{"rendered":"\n<p><a href=\"https:\/\/app.sendgrid.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">SendGrid<\/a>&nbsp;provides a very simple API to send transactional and marketing emails in Rails applications.<\/p>\n\n\n\n<p>There are simple steps to avail the SendGrid in a&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\" target=\"_blank\" rel=\"noopener noreferrer\">Rails application<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sign up in&nbsp;SendGrid<\/h3>\n\n\n\n<p>First,&nbsp;<a href=\"https:\/\/app.sendgrid.com\/signup\" target=\"_blank\" rel=\"noopener noreferrer\">create an account<\/a>&nbsp;on SendGrid and you will receive a verification email. You should see the dashboard after clicking on verification link in the email.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-dashboard-1024x575.png\" alt=\"sendgrid dashboard\" class=\"wp-image-13876\" width=\"768\" height=\"431\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-dashboard-1024x575.png 1024w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-dashboard-300x169.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-dashboard-768x431.png 768w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-dashboard.png 1200w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Setup ActionMailer<\/h3>\n\n\n\n<p>Generate a Mailer class.<br><code>$ rails generate mailer UserMailer<\/code><br>Open the mailer we&#8217;ve just created and write a mailer action that would send mails.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-signin.png\" alt=\"sendgrid signin\" class=\"wp-image-13877\" width=\"504\" height=\"170\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-signin.png 672w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-signin-300x101.png 300w\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" \/><\/figure>\n\n\n\n<p>and prepare a view for email content<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-email.png\" alt=\"sendgrid email\" class=\"wp-image-13878\" width=\"635\" height=\"180\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-email.png 847w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-email-300x85.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-email-768x218.png 768w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Configure ActionMailer to use&nbsp;SendGrid<\/h3>\n\n\n\n<p>In <i>config\/environment.rb<\/i>&nbsp;specify your ActionMailer settings to point to SendGrid&#8217;s servers.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"561\" height=\"408\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-email-configure.png\" alt=\"sendgrid email configure\" class=\"wp-image-13879\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-email-configure.png 561w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-email-configure-300x218.png 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/figure>\n\n\n\n<p>That&#8217;s it! Now you should be able to use&nbsp;<i>UserMailer#send_signup_email<\/i>&nbsp;to send emails which will sent through SendGrid.<\/p>\n\n\n\n<p>You can see various Statistics on SendGrid dashboard like number of email sent, bounced emails etc.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-dashboard-update.png\" alt=\"sendgrid dashboard update\" class=\"wp-image-13885\" width=\"600\" height=\"313\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-dashboard-update.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-dashboard-update-300x156.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-dashboard-update-768x400.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>Super easy, huh!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Transactional Template<\/h3>\n\n\n\n<p>SendGrid also provide many other services like using custom templates for mailer. What if you need to change your email content \/ style frequently? It is very cumbersome if we have to keep on changing rails mailer views. Here, send grid helps. You can create template using interactive editor online and use them in ActionMailer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configure Template<\/h3>\n\n\n\n<p>Go to template tab and click on create template.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid-template-configure.png\" alt=\"sendgrid template configure\" class=\"wp-image-13882\" width=\"750\" height=\"404\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid-template-configure.png 1000w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid-template-configure-300x162.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid-template-configure-768x414.png 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p>Specify the name of the template and save.<\/p>\n\n\n\n<p>This will just create a template. To add \/ edit content, click on Action button and then select Add Version option.<\/p>\n\n\n\n<p>You will get a page with editor to edit the template. Write the content. You can also preview content in design view.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-design-1024x358.png\" alt=\"sendgrid design\" class=\"wp-image-13883\" width=\"768\" height=\"269\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-design-1024x358.png 1024w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-design-300x105.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-design-768x268.png 768w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sendgrid-design.png 1366w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>Save the template and it is now ready for use.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configure the application<\/h3>\n\n\n\n<p>Now to use the template feature of SendGrid, you first need to add gem in your Gemfile and bundle it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">gem 'smtpapi'<\/pre>\n\n\n\n<p>Now, you need to tell UserMailer action to use your custom template.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"684\" height=\"559\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/user-mailer-code.png\" alt=\"user mailer code\" class=\"wp-image-13884\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/user-mailer-code.png 684w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/user-mailer-code-300x245.png 300w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/figure>\n\n\n\n<p>Where template_id is the id of the template you just created under Templates tab on the Dashboard.<\/p>\n\n\n\n<p>Now, your application is using custom template which is residing on cloud and not your source code. Flexible, right!<\/p>\n\n\n\n<p><a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Click here for more details&#8230;<\/strong><\/a><\/p>\n\n\n\n<p>At <a href=\"https:\/\/www.botreetechnologies.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">BoTree Technologies<\/a>, we build enterprise applications with our RoR team of 25+ engineers.<\/p>\n\n\n\n<p>We also specialize in RPA, AI, Python, Django, JavaScript and ReactJS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\" target=\"_blank\" rel=\"noopener noreferrer\">Consulting is free<\/a> &#8211; let us help you grow!<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>SendGrid&nbsp;provides a very simple API to send transactional and marketing&#8230;<\/p>\n","protected":false},"author":17,"featured_media":13875,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,10],"tags":[],"class_list":["post-1816","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Send transactional emails using SendGrid with Ruby on Rails<\/title>\n<meta name=\"description\" content=\"SendGrid provides a very simple API to send transactional and marketing emails in Rails applications.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Send transactional emails using SendGrid with Ruby on Rails\" \/>\n<meta property=\"og:description\" content=\"SendGrid provides a very simple API to send transactional and marketing emails in Rails applications.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-31T10:07:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-08T06:16:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"681\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Hardik Purohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hardik Purohit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/\"},\"author\":{\"name\":\"Hardik Purohit\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/d9d60543a5565e4cd5ad6963b8a346a2\"},\"headline\":\"Send transactional emails using SendGrid with Ruby on Rails\",\"datePublished\":\"2017-03-31T10:07:09+00:00\",\"dateModified\":\"2021-01-08T06:16:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/\"},\"wordCount\":401,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg\",\"articleSection\":[\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/\",\"name\":\"Send transactional emails using SendGrid with Ruby on Rails\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg\",\"datePublished\":\"2017-03-31T10:07:09+00:00\",\"dateModified\":\"2021-01-08T06:16:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/d9d60543a5565e4cd5ad6963b8a346a2\"},\"description\":\"SendGrid provides a very simple API to send transactional and marketing emails in Rails applications.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg\",\"width\":1024,\"height\":681,\"caption\":\"sendgrid ruby on rails\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send transactional emails using SendGrid with Ruby on Rails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/d9d60543a5565e4cd5ad6963b8a346a2\",\"name\":\"Hardik Purohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hardik-purohit-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hardik-purohit-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hardik-purohit-150x150.png\",\"caption\":\"Hardik Purohit\"},\"description\":\"Hardik is a React JS and Ruby on Rails Developer. He loves Ruby, JavaScript, problem-solving and taking ownership of work. Apart from coding, he likes to listen to songs, playing cricket and driving cars.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Send transactional emails using SendGrid with Ruby on Rails","description":"SendGrid provides a very simple API to send transactional and marketing emails in Rails applications.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/","og_locale":"en_US","og_type":"article","og_title":"Send transactional emails using SendGrid with Ruby on Rails","og_description":"SendGrid provides a very simple API to send transactional and marketing emails in Rails applications.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2017-03-31T10:07:09+00:00","article_modified_time":"2021-01-08T06:16:32+00:00","og_image":[{"width":1024,"height":681,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg","type":"image\/jpeg"}],"author":"Hardik Purohit","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Hardik Purohit","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/"},"author":{"name":"Hardik Purohit","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/d9d60543a5565e4cd5ad6963b8a346a2"},"headline":"Send transactional emails using SendGrid with Ruby on Rails","datePublished":"2017-03-31T10:07:09+00:00","dateModified":"2021-01-08T06:16:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/"},"wordCount":401,"commentCount":0,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg","articleSection":["Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/","url":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/","name":"Send transactional emails using SendGrid with Ruby on Rails","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg","datePublished":"2017-03-31T10:07:09+00:00","dateModified":"2021-01-08T06:16:32+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/d9d60543a5565e4cd5ad6963b8a346a2"},"description":"SendGrid provides a very simple API to send transactional and marketing emails in Rails applications.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/03\/sendgrid.jpg","width":1024,"height":681,"caption":"sendgrid ruby on rails"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/sendgrid-with-ruby-on-rails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Send transactional emails using SendGrid with Ruby on Rails"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/d9d60543a5565e4cd5ad6963b8a346a2","name":"Hardik Purohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hardik-purohit-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hardik-purohit-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hardik-purohit-150x150.png","caption":"Hardik Purohit"},"description":"Hardik is a React JS and Ruby on Rails Developer. He loves Ruby, JavaScript, problem-solving and taking ownership of work. Apart from coding, he likes to listen to songs, playing cricket and driving cars."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=1816"}],"version-history":[{"count":4,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1816\/revisions"}],"predecessor-version":[{"id":14869,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1816\/revisions\/14869"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/13875"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=1816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=1816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=1816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}