{"id":633,"date":"2019-01-21T06:30:24","date_gmt":"2019-01-21T06:30:24","guid":{"rendered":"https:\/\/www.kolkataonweb.com\/code-bank\/?p=633"},"modified":"2019-01-21T06:42:56","modified_gmt":"2019-01-21T06:42:56","slug":"gmail-smtp-and-two-factor-authentication","status":"publish","type":"post","link":"https:\/\/www.kolkataonweb.com\/code-bank\/miscellaneous\/gmail-smtp-and-two-factor-authentication\/","title":{"rendered":"Gmail SMTP and Two Factor Authentication"},"content":{"rendered":"<p>For using Google SMTP of accounts that has two factor authentication enabled, fist an app needs to be created and then the app password will have to be used in the application that will be sending the emails.<\/p>\n<p><a href=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-and-2-step-auth.png\"><img loading=\"lazy\" decoding=\"async\" class=\"image-border alignnone wp-image-635 size-large\" src=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-and-2-step-auth-1024x423.png\" alt=\"\" width=\"604\" height=\"250\" srcset=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-and-2-step-auth-1024x423.png 1024w, https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-and-2-step-auth-300x124.png 300w, https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-and-2-step-auth-768x317.png 768w, https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-and-2-step-auth.png 1342w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"image-border alignnone wp-image-636 size-full\" src=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-1.png\" alt=\"\" width=\"700\" height=\"550\" srcset=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-1.png 700w, https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-1-300x236.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"image-border alignnone wp-image-637 size-full\" src=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-2.png\" alt=\"\" width=\"713\" height=\"509\" srcset=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-2.png 713w, https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-2-300x214.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"image-border alignnone wp-image-638 size-full\" src=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-3.png\" alt=\"\" width=\"670\" height=\"538\" srcset=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-3.png 670w, https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2019\/01\/google-smtp-create-app-3-300x241.png 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For using Google SMTP of accounts that has two factor authentication enabled, fist an app needs to be created and then the app password will have to be used in the application that will be sending the emails.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[159,157,158],"class_list":["post-633","post","type-post","status-publish","format-standard","hentry","category-miscellaneous","tag-gmail-app-password","tag-gmail-smtp","tag-google-smtp","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts\/633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/comments?post=633"}],"version-history":[{"count":5,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts\/633\/revisions"}],"predecessor-version":[{"id":643,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts\/633\/revisions\/643"}],"wp:attachment":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/media?parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/categories?post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/tags?post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}