{"id":82862,"date":"2021-07-30T09:00:37","date_gmt":"2021-07-30T03:30:37","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=82862"},"modified":"2024-08-05T19:40:30","modified_gmt":"2024-08-05T14:10:30","slug":"send-email-through-android","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/","title":{"rendered":"How to Send Email in Android Using Intent?"},"content":{"rendered":"<p>Until now, we have seen many ways to communicate through Android. They were through SMS and calls. Now we will see how you can send emails through an Android Application.<\/p>\n<p>Nowadays, emails become an essential aspect of communication whether you are in an organization, workspace, or community.<\/p>\n<p>For example, suppose you are working for a company or studying in a school. In this scenario, you need to mail your school administrator an inquiry about the school fee.<\/p>\n<p>At this place, you can\u2019t directly call the school administrator or text them. The only option available for you is to mail them. There are multiple scenarios where email is helpful and plays an essential role.<\/p>\n<p>So in this article, we will try to cover all the crucial aspects that will help you build your email application.<\/p>\n<h3>What is an Email and how do we usually send it?<\/h3>\n<p>An electronic mail (or email) is a way to communicate through people using their email addresses. As discussed earlier, it has a significant impact on our day to day life and helps us communicate.<\/p>\n<p>Emails are also a way to notify or update people about new activities or new announcements.<\/p>\n<p>There are several apps available on App stores that are used to send emails. Some of them are as follows:<\/p>\n<ul>\n<li>Gmail<\/li>\n<li>Outlook<\/li>\n<li>ProtonMail<\/li>\n<li>Spark Mail<\/li>\n<li>Newton Mail<\/li>\n<li>Cleanfox<\/li>\n<li>Blue Mail<\/li>\n<\/ul>\n<p>You can go ahead to the app store and try these apps to explore more about them.<\/p>\n<p>Now let\u2019s see to send an email what are the necessary fields we need to provide.<\/p>\n<p>1. Email Address\/Addresses of the recipient\/s.<br \/>\n2. The subject of the Mail (Optional field but recommended)<br \/>\n3. Body or Content of the mail.<\/p>\n<h3>How to send an Email using Intent in Android?<\/h3>\n<p>I hope you learned what an email is and the necessary fields to take from users before sending an email. Now it\u2019s time for us to see how you can send emails from your Android App. For this purpose, you need to use Intents.<\/p>\n<p>Let\u2019s see what action and data you need to keep to form the intent.<\/p>\n<h4>1. Action in your Intent &#8211;<\/h4>\n<p>So, to create an email intent, you need to use the action as ACTION_SEND. This action indicates that you are trying to send data, such as an email, and it triggers the appropriate email client on the user&#8217;s device.<\/p>\n<h4>2. Data you need to pass &#8211;<\/h4>\n<p>The data you pass along with the intent should be an intent object. For this, you can use the data method to specify the email recipient, subject, body, and other relevant information. This ensures that all necessary details are included in the email intent.<\/p>\n<h4>3. Set Type of your intent &#8211;<\/h4>\n<p>For standard text content, you need to use text\/plain as the type. You can use the type method for the above.<\/p>\n<p>Let\u2019s see below an example code of the same.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/\/create an intent object\r\n val intent = Intent(Intent.ACTION_SEND)\r\n\r\n\/\/provide email address of the recipient as data\r\n intent.data = Uri.parse(\"mailto:$recipientMail\")\r\n\r\n\/\/set the type of mail\r\nintent.type = \"text\/plain\"\r\n\r\n\/\/start your intent\r\nstartActivity(Intent.createChooser(intent, \"Select your Email app\"))<\/pre>\n<h3>Extras that are sent along with the mail?<\/h3>\n<p>Sometimes while sending an email, you need to specify the cc or bcc. So, those extra details which go along with your mail are known as the extras for your email.<\/p>\n<p>You need to use the putExtra() method to attach extras with your email.<br \/>\nLet&#8217;s see a few of them which you can use as extras.<\/p>\n<ul>\n<li><strong>EXTRA_CC<\/strong> \u2013 Here, you can specify the email addresses in the form of a string array. These email addresses will get a carbon copy of your email. It allows you to keep multiple recipients in the loop without directly addressing them.<\/li>\n<li><strong>EXRTA_BCC<\/strong> \u2013 Here, you can specify the email addresses to whom you wish to send a blind carbon copy. The recipients in the BCC field will not be visible to other recipients, ensuring privacy.<\/li>\n<li><strong>EXTRA_SUBJECT<\/strong> \u2013 It contains a string defining the subject of your email, giving the recipient an idea of the email&#8217;s content before opening it.<\/li>\n<li><strong>EXTRA_EMAIL<\/strong> \u2013 It holds the email address to which you wish to send the original mail. This is the primary recipient&#8217;s email address and is essential for sending the email.<\/li>\n<li><strong>EXTRA_TEXT<\/strong> \u2013 It is used to send text data along with your email. This can include the main message body in plain text, providing the core content of the email.<\/li>\n<li><strong>EXTRA_HTML_TEXT<\/strong> \u2013 It is used to send HTML data along with your email. This allows for richer formatting, including images, links, and styled text, enhancing the email&#8217;s visual appeal.<\/li>\n<\/ul>\n<h3>Implementation of an Email App<\/h3>\n<p>So, now we are ready to build our email application. You need to follow the below-mentioned steps to get through the app.<\/p>\n<p><strong>1:<\/strong> Launch your Android Studio.<\/p>\n<p><strong>2:<\/strong> Select Create a New Project.<\/p>\n<p><strong>3:<\/strong> Select Empty Activity and proceed.<\/p>\n<p><strong>4:<\/strong> Enter your application name. In my case, it\u2019s \u201cTechVidvanEmail\u201d Next, select Kotlin from the dropdown. For the API level, select API 22 for now.<\/p>\n<p><strong>5:<\/strong> Now go to res &#8212;&gt; layout &#8212;-&gt; and open activity_main.xml. Now here, you need to add three edit texts and one button to send an email.<\/p>\n<p><strong>Code: activity_main.xml<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\r\n    xmlns:tools=\"http:\/\/schemas.android.com\/tools\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\"\r\n    android:orientation=\"vertical\"\r\n    android:background=\"#051130\"\r\n    tools:context=\".MainActivity\"&gt;\r\n\r\n    &lt;TextView\r\n        android:id=\"@+id\/title\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:text=\"Tech Vidvan Email App\"\r\n        android:textColor=\"@color\/white\"\r\n        android:textSize=\"28sp\"\r\n        android:gravity=\"center\"\r\n        android:textStyle=\"bold\"\r\n        android:layout_margin=\"20dp\"\r\n        \/&gt;\r\n    &lt;EditText\r\n        android:id=\"@+id\/edit_mail_address\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:padding=\"10dp\"\r\n        android:layout_margin=\"15dp\"\r\n        android:background=\"@color\/white\"\r\n        android:textSize=\"18sp\"\r\n        android:hint=\"Enter Recipient Email Address\"\r\n        \/&gt;\r\n    &lt;EditText\r\n        android:id=\"@+id\/edit_mail_subject\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:hint=\"Enter your Subject here\"\r\n        android:padding=\"10dp\"\r\n        android:background=\"@color\/white\"\r\n        android:layout_margin=\"15dp\"\r\n        android:textSize=\"18sp\"\r\n        \/&gt;\r\n    &lt;EditText\r\n        android:id=\"@+id\/edit_mail_message\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:lines=\"6\"\r\n        android:hint=\"Write your message here\"\r\n        android:background=\"@color\/white\"\r\n        android:padding=\"10dp\"\r\n        android:textSize=\"18sp\"\r\n        android:layout_margin=\"15dp\"\/&gt;\r\n    &lt;Button\r\n        android:id=\"@+id\/send_email_button\"\r\n        android:onClick=\"sendEmail\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:backgroundTint=\"#4CAF50\"\r\n        android:layout_gravity=\"center\"\r\n        android:layout_marginTop=\"15dp\"\r\n        android:textSize=\"16sp\"\r\n        android:text=\"Send Email\" \/&gt;\r\n&lt;\/LinearLayout&gt;\r\n<\/pre>\n<p><strong>Step 6:<\/strong> Now, as a final step, just paste the below code in your MainActivity.kt file.<\/p>\n<p><strong>Code: MainActivity.kt<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">package com.techvidvan.techvidvanemail\r\n\r\nimport android.content.Intent\r\nimport android.net.Uri\r\nimport android.os.Bundle\r\nimport android.view.View\r\nimport android.widget.EditText\r\nimport androidx.appcompat.app.AppCompatActivity\r\n\r\nclass MainActivity : AppCompatActivity()\r\n{\r\n    lateinit var emailEditText: EditText\r\n    lateinit var emailEditSubject: EditText\r\n    lateinit var emailEditMessage: EditText\r\n    lateinit var recipientMail: String\r\n    lateinit var emailSubject: String\r\n    lateinit var emailMessage: String\r\n    override fun onCreate(savedInstanceState: Bundle?)\r\n    {\r\n        super.onCreate(savedInstanceState)\r\n        setContentView(R.layout.activity_main)\r\n\r\n        \/\/Binding variables with UI elements\r\n        emailEditText = findViewById(R.id.edit_mail_address)\r\n        emailEditSubject = findViewById(R.id.edit_mail_subject)\r\n        emailEditMessage = findViewById(R.id.edit_mail_message)\r\n    }\r\n\r\n    fun sendEmail(view: View)\r\n    {\r\n        \/\/first access data from the edit text fields\r\n        recipientMail = emailEditText.text.toString()\r\n        emailSubject = emailEditSubject.text.toString()\r\n        emailMessage = emailEditMessage.text.toString()\r\n\r\n        \/\/now create an intent object\r\n        val intent = Intent(Intent.ACTION_SEND)\r\n\r\n        \/\/provide email address of the recipient as data\r\n        intent.data = Uri.parse(\"mailto:$recipientMail\")\r\n\r\n        \/\/now we will add extras with the mail\r\n        intent.putExtra(Intent.EXTRA_SUBJECT, emailSubject)\r\n        intent.putExtra(Intent.EXTRA_TEXT, emailMessage)\r\n        \r\n        \/\/set the type of mail\r\n        intent.type = \"text\/plain\"\r\n\r\n        \/\/start your intent\r\n        startActivity(Intent.createChooser(intent, \"Select your Email app\"))\r\n    }\r\n}\r\n<\/pre>\n<p>Now, you need to run your application.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_Output_1-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-83015\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_Output_1-4.jpg\" alt=\"Send mail in Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>Here, you need to enter the recipient email, subject and body of the mail.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_Output_2-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-83016\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_Output_2-4.jpg\" alt=\"Send mail through Intent in Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>Now click on the send email button.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_Output_3-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-83017\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_Output_3-4.jpg\" alt=\"Sending email in Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>Now here you select your mail application. In my case, I will select Gmail.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_Output_4-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-83024\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_Output_4-3.jpg\" alt=\"Android App Output\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>So you can see in your Gmail application along with your recipient mail, subject and mail body.<\/p>\n<h3>Summary<\/h3>\n<p>Through this article, you got to know more about emails and their uses. Moving forth, you saw the method to send emails from Android.<\/p>\n<p>We discussed the intent you need to use and what extras you can add along with it. Finally, you saw how you create your mail sending application.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Until now, we have seen many ways to communicate through Android. They were through SMS and calls. Now we will see how you can send emails through an Android Application. Nowadays, emails become an&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":83014,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2791],"tags":[3902,3903],"class_list":["post-82862","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","tag-send-email-in-android","tag-sending-email-in-android"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Send Email in Android Using Intent? - TechVidvan<\/title>\n<meta name=\"description\" content=\"Learn about emails &amp; their uses. See the method to send email from Android using intent. Learn to create mail sending application in Android.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/\" \/>\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 in Android Using Intent? - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Learn about emails &amp; their uses. See the method to send email from Android using intent. Learn to create mail sending application in Android.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-30T03:30:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-05T14:10:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Send-Email-Through-Android.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Send Email in Android Using Intent? - TechVidvan","description":"Learn about emails & their uses. See the method to send email from Android using intent. Learn to create mail sending application in Android.","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:\/\/techvidvan.com\/tutorials\/send-email-through-android\/","og_locale":"en_US","og_type":"article","og_title":"How to Send Email in Android Using Intent? - TechVidvan","og_description":"Learn about emails & their uses. See the method to send email from Android using intent. Learn to create mail sending application in Android.","og_url":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2021-07-30T03:30:37+00:00","article_modified_time":"2024-08-05T14:10:30+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Send-Email-Through-Android.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"How to Send Email in Android Using Intent?","datePublished":"2021-07-30T03:30:37+00:00","dateModified":"2024-08-05T14:10:30+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/"},"wordCount":979,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Send-Email-Through-Android.jpg","keywords":["Send Email in Android","Sending Email in Android"],"articleSection":["Android Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/","url":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/","name":"How to Send Email in Android Using Intent? - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Send-Email-Through-Android.jpg","datePublished":"2021-07-30T03:30:37+00:00","dateModified":"2024-08-05T14:10:30+00:00","description":"Learn about emails & their uses. See the method to send email from Android using intent. Learn to create mail sending application in Android.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Send-Email-Through-Android.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Send-Email-Through-Android.jpg","width":1200,"height":628,"caption":"Send Email in Android"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/send-email-through-android\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Send Email in Android Using Intent?"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/82862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=82862"}],"version-history":[{"count":2,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/82862\/revisions"}],"predecessor-version":[{"id":447603,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/82862\/revisions\/447603"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/83014"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=82862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=82862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=82862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}