{"id":6701,"date":"2021-07-07T12:48:31","date_gmt":"2021-07-07T12:48:31","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=6701"},"modified":"2022-04-13T16:33:34","modified_gmt":"2022-04-13T16:33:34","slug":"how-to-send-email-with-attachement-in-laravel-5-8","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/","title":{"rendered":"How to Send email with Attachement in Laravel 5.8"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\" id=\"caf8\">In this tutorial i\u2019m going to describe how to send attachement in laravel, please follow some easy steps define below.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"2d54\">First let\u2019s go to install laravel project<\/h1>\n\n\n\n<pre class=\"wp-block-preformatted\">composer create-project laravel\/laravel learning-project \"5.8.*\"<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em>lets go to&nbsp;<\/em><strong><em>.env folder<\/em><\/strong><em>&nbsp;and put database name and connect to database.<\/em><\/p><\/blockquote>\n\n\n\n<pre class=\"wp-block-preformatted\">DB_CONNECTION=mysql<br>DB_HOST=127.0.0.1<br>DB_PORT=3306<br>DB_DATABASE=learning-project<br>DB_USERNAME=root<br>DB_PASSWORD=<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/0*rI2OSx5279q_tLjh.png\" alt=\"\"\/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"8ad5\">Now migrate the table<\/h1>\n\n\n\n<pre class=\"wp-block-preformatted\">php artisan migrate<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"7702\">Create a Mailable class first you have to create an account in mailtrap or click this url&nbsp;<a href=\"https:\/\/mailtrap.io\/\">https:\/\/mailtrap.io\/<\/a>&nbsp;after create account you have to copy Username: XXXXXXXXX and password: XXXXXXXXXX and put in .env file see pic<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*MNJLyP2Na96LVJiWE2DbAQ.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*CZvpovcU2BRhPOjmDJBq3w.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"a7fe\">Now we are ready for make mailable class for this we have to go teminal and write following<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"b5dc\">Let\u2019s go to create controller<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php artisan make:controller PDFController<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"59ca\">Go to your PDF controller file and paste below code<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php<br>  <br>namespace App\\Http\\Controllers;<br>use Log;<br>use PDF;<br>use Mail;<br>  <br>class PDFController extends Controller<br>{<br>    \/**<br>     * Write code on Method<br>     *<br>     * @return response()<br>     *\/<br>    public function index()<br>    {<br>        $data[\"email\"] = \"laravelamit@gmail.com\";<br>        $data[\"title\"] = \"From DevOpsSchool.com\";<br>        $data[\"body\"] = \"This is Demo\";<br> <br>        $files = [<br>            public_path('files\/yit-brochure.pdf'),<br>            public_path('files\/laravel.png'),<br>        ];<br>        \/\/ log::info('mail aa rha hai');<br>        Mail::send('emails.myTestMail', $data, function($message)use($data, $files) {<br>            $message-&gt;to($data[\"email\"], $data[\"email\"])<br>                    -&gt;subject($data[\"title\"]);<br> <br>            foreach ($files as $file){<br>                $message-&gt;attach($file);<br>            }<br>            <br>        });<br> <br>        dd('Mail sent successfully');<br>    }<br>}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"10ef\">Next to create view files<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">resources\/views\/emails\/myTestMail.blade.php<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"ffdd\">Go to&nbsp;your myTestMail.blade file and paste below code<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>    &lt;title&gt;Laravel Amit&lt;\/title&gt;<br>&lt;\/head&gt;<br>&lt;body&gt;<br>    &lt;h1&gt;{{ $title }}&lt;\/h1&gt;<br>    &lt;p&gt;{{ $body }}&lt;\/p&gt;<br>     <br>    &lt;p&gt;Thank you&lt;\/p&gt;<br>&lt;\/body&gt;<br>&lt;\/html&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"36b8\">And lastone go to Routes\/web.php and paste below code.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php<br><br>use Illuminate\\Support\\Facades\\Route;<br>use App\\Http\\Controllers\\PDFController;<br><br>\/*<br>|--------------------------------------------------------------------------<br>| Web Routes<br>|--------------------------------------------------------------------------<br>|<br>| Here is where you can register web routes for your application. These<br>| routes are loaded by the RouteServiceProvider within a group which<br>| contains the \"web\" middleware group. Now create something great!<br>|<br>*\/<br><br>Route::get('\/', function () {<br>    return view('welcome');<br>});<br><br>Auth::routes(['verify' =&gt; true]);<br><br>Route::get('\/home', 'HomeController@index')-&gt;name('home');<br>Route::get('\/send-email-pdf', 'PDFController@index')-&gt;name('sendemail');<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"31e4\">Now refresh your browser and check.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*3B7hjVsIfyqF3AtP0tT8sA.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*MQ8yHHi4WRity-MyXwUcWQ.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"f6a6\">Thanks \u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial i\u2019m going to describe how to send attachement in laravel, please follow some easy steps define below. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6703,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5049,156],"tags":[5434,5052,5235,5433],"class_list":["post-6701","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","category-websites","tag-attachement-send-in-laravel","tag-laravel","tag-mailtrap-in-laravel","tag-sendemail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Send email with Attachement in Laravel 5.8 - scmGalaxy<\/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:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Send email with Attachement in Laravel 5.8 - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"In this tutorial i\u2019m going to describe how to send attachement in laravel, please follow some easy steps define below. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-07T12:48:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-13T16:33:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/07\/how-to-send-email-with-attachement-in-laravel.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"315\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"rajeshkumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rajeshkumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/\"},\"author\":{\"name\":\"rajeshkumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"headline\":\"How to Send email with Attachement in Laravel 5.8\",\"datePublished\":\"2021-07-07T12:48:31+00:00\",\"dateModified\":\"2022-04-13T16:33:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/\"},\"wordCount\":165,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/how-to-send-email-with-attachement-in-laravel.jpg\",\"keywords\":[\"attachement send in laravel\",\"laravel\",\"mailtrap in laravel\",\"sendemail\"],\"articleSection\":[\"Laravel\",\"Websites\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/\",\"name\":\"How to Send email with Attachement in Laravel 5.8 - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/how-to-send-email-with-attachement-in-laravel.jpg\",\"datePublished\":\"2021-07-07T12:48:31+00:00\",\"dateModified\":\"2022-04-13T16:33:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/how-to-send-email-with-attachement-in-laravel.jpg\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/how-to-send-email-with-attachement-in-laravel.jpg\",\"width\":600,\"height\":315},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-send-email-with-attachement-in-laravel-5-8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Send email with Attachement in Laravel 5.8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\",\"name\":\"rajeshkumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"caption\":\"rajeshkumar\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/rajeshkumar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Send email with Attachement in Laravel 5.8 - scmGalaxy","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.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/","og_locale":"en_US","og_type":"article","og_title":"How to Send email with Attachement in Laravel 5.8 - scmGalaxy","og_description":"In this tutorial i\u2019m going to describe how to send attachement in laravel, please follow some easy steps define below. [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/","og_site_name":"scmGalaxy","article_published_time":"2021-07-07T12:48:31+00:00","article_modified_time":"2022-04-13T16:33:34+00:00","og_image":[{"width":600,"height":315,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/07\/how-to-send-email-with-attachement-in-laravel.jpg","type":"image\/jpeg"}],"author":"rajeshkumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rajeshkumar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/"},"author":{"name":"rajeshkumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"headline":"How to Send email with Attachement in Laravel 5.8","datePublished":"2021-07-07T12:48:31+00:00","dateModified":"2022-04-13T16:33:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/"},"wordCount":165,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/07\/how-to-send-email-with-attachement-in-laravel.jpg","keywords":["attachement send in laravel","laravel","mailtrap in laravel","sendemail"],"articleSection":["Laravel","Websites"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/","name":"How to Send email with Attachement in Laravel 5.8 - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/07\/how-to-send-email-with-attachement-in-laravel.jpg","datePublished":"2021-07-07T12:48:31+00:00","dateModified":"2022-04-13T16:33:34+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/07\/how-to-send-email-with-attachement-in-laravel.jpg","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/07\/how-to-send-email-with-attachement-in-laravel.jpg","width":600,"height":315},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-send-email-with-attachement-in-laravel-5-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Send email with Attachement in Laravel 5.8"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361","name":"rajeshkumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","caption":"rajeshkumar"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/rajeshkumar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=6701"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6701\/revisions"}],"predecessor-version":[{"id":6704,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6701\/revisions\/6704"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/6703"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=6701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=6701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=6701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}