{"id":40659,"date":"2016-02-04T15:48:21","date_gmt":"2016-02-04T15:48:21","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=40659"},"modified":"2024-02-21T09:53:40","modified_gmt":"2024-02-21T09:53:40","slug":"magento-2-send-mail-using-your-smtp-detail","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/","title":{"rendered":"Magento 2- Send mail using your smtp server"},"content":{"rendered":"\n<p>Here we learn how to send mail&nbsp; using our smtp detail in magento2<\/p>\n\n\n\n<p>For this we need to override mageto \\Magento\\Framework\\Mail\\Transport class by your custom model class<\/p>\n\n\n\n<p><b>We have a complete module for smtp setup. You can check here <a href=\"https:\/\/store.webkul.com\/SMTP-Configurator-Magento2.html\" target=\"_blank\" rel=\"noopener\">SMTP Configurator for Magento2<\/a> here.<\/b><\/p>\n\n\n\n<p>We can do it in two step<\/p>\n\n\n\n<p>1# For override we need to write code in module di.xml file at location app\/code\/NameSpace\/ModuleName\/etc<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:ObjectManager\/etc\/config.xsd&quot;&gt;\n    &lt;!-- for override magento default Transport class with our custom module model--&gt;\n    &lt;preference for=&quot;\\Magento\\Framework\\Mail\\Transport&quot; type=&quot;NameSpace\\ModuleName\\Model\\Transport&quot;\/&gt;\n&lt;\/config&gt;<\/pre>\n\n\n\n<p>2# Now we&#8217;ll define our&nbsp; Transport model in our custom module<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\/**\n * Mail Transport\n *\/\nnamespace NameSpace\\ModuleName\\Model;\n\nclass Transport extends \\Laminas\\Mail\\Transport\\Sendmail implements \\Magento\\Framework\\Mail\\TransportInterface\n{\n    \/**\n     * @var \\Magento\\Framework\\Mail\\MessageInterface\n     *\/\n    protected $_message;\n\n    \/**\n     * @param MessageInterface $message\n     * @param null $parameters\n     * @throws \\InvalidArgumentException\n     *\/\n    public function __construct(\\Magento\\Framework\\Mail\\MessageInterface $message)\n    {\n        if (!$message instanceof \\Laminas\\Mail) {\n            throw new \\InvalidArgumentException(&#039;The message should be an instance of \\Laminas\\Mail&#039;);\n        }\n         $smtpHost= &#039;xxx.xxxx.xxx&#039;;\/\/your smtp host  &#039;;\n         $smtpConf = &#091;\n            &#039;auth&#039; =&gt; &#039;login&#039;,\/\/auth type\n            &#039;ssl&#039; =&gt; &#039;tsl&#039;, \n            &#039;port&#039; =&gt; &#039;587&#039;,\n            &#039;username&#039; =&gt; &#039;xxxx@xxxxx.xxx&#039;,\/\/smtm user name\n            &#039;password&#039; =&gt; &#039;xxxxxxxxxxxxxx&#039;\/\/smtppassword \n         ];\n\n        parent::__construct($smtpHost, $smtpConf);\n        $this-&gt;_message = $message;\n    }\n\n    \/**\n     * Send a mail using this transport\n     * @return void\n     * @throws \\Magento\\Framework\\Exception\\MailException\n     *\/\n    public function sendMessage()\n    {\n        try {\n            parent::send($this-&gt;_message);\n        } catch (\\Exception $e) {\n            throw new \\Magento\\Framework\\Exception\\MailException(new \\Magento\\Framework\\Phrase($e-&gt;getMessage()), $e);\n        }\n    }\n}<\/pre>\n\n\n\n<p>Now all mail goes from your Magento 2 instance using your SMTP server \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here we learn how to send mail&nbsp; using our smtp detail in magento2 For this we need to override mageto \\Magento\\Framework\\Mail\\Transport class by your custom model class We have a complete module for smtp setup. You can check here SMTP Configurator for Magento2 here. We can do it in two step 1# For override we <a href=\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":4,"featured_media":39673,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,302],"tags":[2056,2070,2673,2672],"class_list":["post-40659","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento","category-magento2","tag-magento","tag-magento2","tag-mail","tag-smtp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Magento 2- Send mail using your smtp server - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2- Send mail using your smtp server - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Here we learn how to send mail&nbsp; using our smtp detail in magento2 For this we need to override mageto MagentoFrameworkMailTransport class by your custom model class We have a complete module for smtp setup. You can check here SMTP Configurator for Magento2 here. We can do it in two step 1# For override we [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-04T15:48:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-21T09:53:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abhishek Singh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abhishek Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/\"},\"author\":{\"name\":\"Abhishek Singh\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/573e459f54796eb4195511990de4bfd0\"},\"headline\":\"Magento 2- Send mail using your smtp server\",\"datePublished\":\"2016-02-04T15:48:21+00:00\",\"dateModified\":\"2024-02-21T09:53:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/\"},\"wordCount\":105,\"commentCount\":37,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png\",\"keywords\":[\"magento\",\"Magento2\",\"mail\",\"smtp\"],\"articleSection\":[\"magento\",\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/\",\"url\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/\",\"name\":\"Magento 2- Send mail using your smtp server - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png\",\"datePublished\":\"2016-02-04T15:48:21+00:00\",\"dateModified\":\"2024-02-21T09:53:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magento 2- Send mail using your smtp server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/573e459f54796eb4195511990de4bfd0\",\"name\":\"Abhishek Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d4ac7e0e671bf743359d7e3f140c262d1b16d71106f0a1aeaecca327a2805ae4?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d4ac7e0e671bf743359d7e3f140c262d1b16d71106f0a1aeaecca327a2805ae4?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Abhishek Singh\"},\"description\":\"Adobe Commerce certified Magento developer with over 12 years of experience at Webkul. Passionate about scalable Magento 2-based webshops, AI, and multi-channel integrations, Abhishek consistently delivers innovative and efficient e-commerce solutions that propel businesses forward.\",\"sameAs\":[\"http:\/\/webkul.com\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/abhishek\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Magento 2- Send mail using your smtp server - Webkul Blog","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:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/","og_locale":"en_US","og_type":"article","og_title":"Magento 2- Send mail using your smtp server - Webkul Blog","og_description":"Here we learn how to send mail&nbsp; using our smtp detail in magento2 For this we need to override mageto MagentoFrameworkMailTransport class by your custom model class We have a complete module for smtp setup. You can check here SMTP Configurator for Magento2 here. We can do it in two step 1# For override we [...]","og_url":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-02-04T15:48:21+00:00","article_modified_time":"2024-02-21T09:53:40+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png","type":"image\/png"}],"author":"Abhishek Singh","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Abhishek Singh","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/"},"author":{"name":"Abhishek Singh","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/573e459f54796eb4195511990de4bfd0"},"headline":"Magento 2- Send mail using your smtp server","datePublished":"2016-02-04T15:48:21+00:00","dateModified":"2024-02-21T09:53:40+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/"},"wordCount":105,"commentCount":37,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png","keywords":["magento","Magento2","mail","smtp"],"articleSection":["magento","Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/","url":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/","name":"Magento 2- Send mail using your smtp server - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png","datePublished":"2016-02-04T15:48:21+00:00","dateModified":"2024-02-21T09:53:40+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-4.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/magento-2-send-mail-using-your-smtp-detail\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Magento 2- Send mail using your smtp server"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/573e459f54796eb4195511990de4bfd0","name":"Abhishek Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d4ac7e0e671bf743359d7e3f140c262d1b16d71106f0a1aeaecca327a2805ae4?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4ac7e0e671bf743359d7e3f140c262d1b16d71106f0a1aeaecca327a2805ae4?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Abhishek Singh"},"description":"Adobe Commerce certified Magento developer with over 12 years of experience at Webkul. Passionate about scalable Magento 2-based webshops, AI, and multi-channel integrations, Abhishek consistently delivers innovative and efficient e-commerce solutions that propel businesses forward.","sameAs":["http:\/\/webkul.com"],"url":"https:\/\/webkul.com\/blog\/author\/abhishek\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/40659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=40659"}],"version-history":[{"count":10,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/40659\/revisions"}],"predecessor-version":[{"id":423384,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/40659\/revisions\/423384"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/39673"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=40659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=40659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=40659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}