{"id":1523,"date":"2022-03-19T09:39:34","date_gmt":"2022-03-19T04:09:34","guid":{"rendered":"https:\/\/myfreeonlinetools.com\/blog\/?p=1523"},"modified":"2022-03-19T14:52:05","modified_gmt":"2022-03-19T09:22:05","slug":"video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer","status":"publish","type":"post","link":"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/","title":{"rendered":"Video : PHPMailer Install with Composer and Solve SMTP Error not authenticate using Gmail PHP Mailer"},"content":{"rendered":"<h2>PHPMailer Install with Composer and solve SMTP error: Could not authenticate<\/h2>\n<p>PHP developer setup PHPMailer for sending mail by PHP code. PHP mail() function also supports directly sending mail but some time Server or Localhost required an SMTP port setting so the developer is required to install or unpackage PHPMailer.<\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"font-size:110px; font-weight: bold; \"><strong>Watch Youtube Video Tutorial for PHPMailer<\/strong><\/h2>\n<p><iframe loading=\"lazy\" title=\"PHPMailer 6.6.0 install with composer (Hindi) | Use Gmail SMTP Port and Send Email by PHP Code\" width=\"790\" height=\"444\" src=\"https:\/\/www.youtube.com\/embed\/oHGbGy9xYYo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h4>Install, unpackage or load PHPMailer<\/h4>\n<p>composer require phpmailer\/phpmailer<\/p>\n<p>&nbsp;<\/p>\n<h4>Package of PHPMailer in Packagist.org<\/h4>\n<p><a href=\"https:\/\/packagist.org\/packages\/phpmailer\/phpmailer\">https:\/\/packagist.org\/packages\/phpmailer\/phpmailer<\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>Sample Example for PHP Mailer Setup<\/h3>\n<pre><span class=\"pl-ent\">&lt;?php<\/span>\r\n<span class=\"pl-c\">\/\/Import PHPMailer classes into the global namespace<\/span>\r\n<span class=\"pl-c\">\/\/These must be at the top of your script, not inside a function<\/span>\r\n<span class=\"pl-k\">use<\/span> <span class=\"pl-v\">PHPMailer<\/span>\\<span class=\"pl-v\">PHPMailer<\/span>\\<span class=\"pl-v\">PHPMailer<\/span>;\r\n<span class=\"pl-k\">use<\/span> <span class=\"pl-v\">PHPMailer<\/span>\\<span class=\"pl-v\">PHPMailer<\/span>\\<span class=\"pl-c1\">SMTP<\/span>;\r\n<span class=\"pl-k\">use<\/span> <span class=\"pl-v\">PHPMailer<\/span>\\<span class=\"pl-v\">PHPMailer<\/span>\\<span class=\"pl-v\">Exception<\/span>;\r\n\r\n<span class=\"pl-c\">\/\/Load Composer's autoloader<\/span>\r\n<span class=\"pl-k\">require<\/span> <span class=\"pl-s\">'vendor\/autoload.php'<\/span>;\r\n\r\n<span class=\"pl-c\">\/\/Create an instance; passing `true` enables exceptions<\/span>\r\n<span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span> = <span class=\"pl-k\">new<\/span> <span class=\"pl-v\">PHPMailer<\/span>(<span class=\"pl-c1\">true<\/span>);\r\n\r\n<span class=\"pl-k\">try<\/span> {\r\n    <span class=\"pl-c\">\/\/Server settings<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">SMTPDebug<\/span> = <span class=\"pl-c1\">SMTP<\/span>::<span class=\"pl-c1\">DEBUG_SERVER<\/span>;                      <span class=\"pl-c\">\/\/Enable verbose debug output<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">isSMTP<\/span>();                                            <span class=\"pl-c\">\/\/Send using SMTP<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">Host<\/span>       = <span class=\"pl-s\">'smtp.example.com'<\/span>;                     <span class=\"pl-c\">\/\/Set the SMTP server to send through<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">SMTPAuth<\/span>   = <span class=\"pl-c1\">true<\/span>;                                   <span class=\"pl-c\">\/\/Enable SMTP authentication<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">Username<\/span>   = <span class=\"pl-s\">'user@example.com'<\/span>;                     <span class=\"pl-c\">\/\/SMTP username<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">Password<\/span>   = <span class=\"pl-s\">'secret'<\/span>;                               <span class=\"pl-c\">\/\/SMTP password<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">SMTPSecure<\/span> = <span class=\"pl-v\">PHPMailer<\/span>::<span class=\"pl-c1\">ENCRYPTION_SMTPS<\/span>;            <span class=\"pl-c\">\/\/Enable implicit TLS encryption<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">Port<\/span>       = <span class=\"pl-c1\">465<\/span>;                                    <span class=\"pl-c\">\/\/TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS`<\/span>\r\n\r\n    <span class=\"pl-c\">\/\/Recipients<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">setFrom<\/span>(<span class=\"pl-s\">'from@example.com'<\/span>, <span class=\"pl-s\">'Mailer'<\/span>);\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">addAddress<\/span>(<span class=\"pl-s\">'joe@example.net'<\/span>, <span class=\"pl-s\">'Joe User'<\/span>);     <span class=\"pl-c\">\/\/Add a recipient<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">addAddress<\/span>(<span class=\"pl-s\">'ellen@example.com'<\/span>);               <span class=\"pl-c\">\/\/Name is optional<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">addReplyTo<\/span>(<span class=\"pl-s\">'info@example.com'<\/span>, <span class=\"pl-s\">'Information'<\/span>);\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">addCC<\/span>(<span class=\"pl-s\">'cc@example.com'<\/span>);\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">addBCC<\/span>(<span class=\"pl-s\">'bcc@example.com'<\/span>);\r\n\r\n    <span class=\"pl-c\">\/\/Attachments<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">addAttachment<\/span>(<span class=\"pl-s\">'\/var\/tmp\/file.tar.gz'<\/span>);         <span class=\"pl-c\">\/\/Add attachments<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">addAttachment<\/span>(<span class=\"pl-s\">'\/tmp\/image.jpg'<\/span>, <span class=\"pl-s\">'new.jpg'<\/span>);    <span class=\"pl-c\">\/\/Optional name<\/span>\r\n\r\n    <span class=\"pl-c\">\/\/Content<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">isHTML<\/span>(<span class=\"pl-c1\">true<\/span>);                                  <span class=\"pl-c\">\/\/Set email format to HTML<\/span>\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">Subject<\/span> = <span class=\"pl-s\">'Here is the subject'<\/span>;\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">Body<\/span>    = <span class=\"pl-s\">'This is the HTML message body &lt;b&gt;in bold!&lt;\/b&gt;'<\/span>;\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-c1\">AltBody<\/span> = <span class=\"pl-s\">'This is the body in plain text for non-HTML mail clients'<\/span>;\r\n\r\n    <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>mail<\/span>-&gt;<span class=\"pl-en\">send<\/span>();\r\n    <span class=\"pl-k\">echo<\/span> <span class=\"pl-s\">'Message has been sent'<\/span>;\r\n} <span class=\"pl-k\">catch<\/span> (<span class=\"pl-smi\">Exception<\/span> <span class=\"pl-s1\"><span class=\"pl-c1\">$<\/span>e<\/span>) {\r\n    <span class=\"pl-k\">echo<\/span> <span class=\"pl-s\">\"Message could not be sent. Mailer Error: {$mail-&gt;ErrorInfo}\"<\/span>;\r\n}\r\n?&gt;<\/pre>\n<h4>Feature of PHPMailer<\/h4>\n<ul>\n<li>Send emails without local mail server<\/li>\n<li>Send emails To, CC, BCC, and Reply-to addresses use in multiple cases<\/li>\n<li>Send emails with attachments<\/li>\n<li>PHPMailer can use in open source projects<\/li>\n<li>Support UTF 8, 8 bit, base64, and other encodings<\/li>\n<li>Auto validate emails address<\/li>\n<li>Compatible with PHP latest versions<\/li>\n<li>and much more.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHPMailer Install with Composer and solve SMTP error: Could not authenticate PHP developer setup PHPMailer for sending mail by PHP code. PHP mail() function also supports directly sending mail but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[29,19],"tags":[],"class_list":["post-1523","post","type-post","status-publish","format-standard","hentry","category-php","category-youtube-video-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHPMailer 6.6.0 install with composer with Gmail SMTP Port Error<\/title>\n<meta name=\"description\" content=\"PHPMailer install with composer | Use Gmail SMTP Port and Send Email by PHP Code | Solve Bad Credentials | Generated App Password\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHPMailer 6.6.0 install with composer with Gmail SMTP Port Error\" \/>\n<meta property=\"og:description\" content=\"PHPMailer install with composer | Use Gmail SMTP Port and Send Email by PHP Code | Solve Bad Credentials | Generated App Password\" \/>\n<meta property=\"og:url\" content=\"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/\" \/>\n<meta property=\"og:site_name\" content=\"MyFreeOnlineTools\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/LearnSchoolOnline\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-19T04:09:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-19T09:22:05+00:00\" \/>\n<meta name=\"author\" content=\"myfreeonlinetools\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"myfreeonlinetools\" \/>\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:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/\"},\"author\":{\"name\":\"myfreeonlinetools\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c\"},\"headline\":\"Video : PHPMailer Install with Composer and Solve SMTP Error not authenticate using Gmail PHP Mailer\",\"datePublished\":\"2022-03-19T04:09:34+00:00\",\"dateModified\":\"2022-03-19T09:22:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/\"},\"wordCount\":162,\"publisher\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#organization\"},\"articleSection\":[\"PHP\",\"Video\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/\",\"name\":\"PHPMailer 6.6.0 install with composer with Gmail SMTP Port Error\",\"isPartOf\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#website\"},\"datePublished\":\"2022-03-19T04:09:34+00:00\",\"dateModified\":\"2022-03-19T09:22:05+00:00\",\"description\":\"PHPMailer install with composer | Use Gmail SMTP Port and Send Email by PHP Code | Solve Bad Credentials | Generated App Password\",\"breadcrumb\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/myfreeonlinetools.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Video : PHPMailer Install with Composer and Solve SMTP Error not authenticate using Gmail PHP Mailer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#website\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/\",\"name\":\"MyFreeOnlineTools\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/myfreeonlinetools.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#organization\",\"name\":\"MyFreeOnlineTools\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png\",\"contentUrl\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png\",\"width\":387,\"height\":79,\"caption\":\"MyFreeOnlineTools\"},\"image\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c\",\"name\":\"myfreeonlinetools\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g\",\"caption\":\"myfreeonlinetools\"},\"description\":\"Live in Delhi, Working in Gurgaon as Web Designer and Graphic Designer. Developed and Design myfreeonlinetools for online free tools. Also having youtube channel Name with LearnSchoolOnline. Traveling, watching movies, coding are the hobbies.\",\"sameAs\":[\"https:\/\/myfreeonlinetools.com\/\",\"https:\/\/www.facebook.com\/LearnSchoolOnline\/\",\"https:\/\/www.youtube.com\/learnschoolonline\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHPMailer 6.6.0 install with composer with Gmail SMTP Port Error","description":"PHPMailer install with composer | Use Gmail SMTP Port and Send Email by PHP Code | Solve Bad Credentials | Generated App Password","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:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/","og_locale":"en_US","og_type":"article","og_title":"PHPMailer 6.6.0 install with composer with Gmail SMTP Port Error","og_description":"PHPMailer install with composer | Use Gmail SMTP Port and Send Email by PHP Code | Solve Bad Credentials | Generated App Password","og_url":"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/","og_site_name":"MyFreeOnlineTools","article_author":"https:\/\/www.facebook.com\/LearnSchoolOnline\/","article_published_time":"2022-03-19T04:09:34+00:00","article_modified_time":"2022-03-19T09:22:05+00:00","author":"myfreeonlinetools","twitter_card":"summary_large_image","twitter_misc":{"Written by":"myfreeonlinetools","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/#article","isPartOf":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/"},"author":{"name":"myfreeonlinetools","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c"},"headline":"Video : PHPMailer Install with Composer and Solve SMTP Error not authenticate using Gmail PHP Mailer","datePublished":"2022-03-19T04:09:34+00:00","dateModified":"2022-03-19T09:22:05+00:00","mainEntityOfPage":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/"},"wordCount":162,"publisher":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#organization"},"articleSection":["PHP","Video"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/","url":"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/","name":"PHPMailer 6.6.0 install with composer with Gmail SMTP Port Error","isPartOf":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#website"},"datePublished":"2022-03-19T04:09:34+00:00","dateModified":"2022-03-19T09:22:05+00:00","description":"PHPMailer install with composer | Use Gmail SMTP Port and Send Email by PHP Code | Solve Bad Credentials | Generated App Password","breadcrumb":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/myfreeonlinetools.com\/blog\/video-phpmailer-install-with-composer-and-solve-smtp-error-not-authenticate-using-gmail-php-mailer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/myfreeonlinetools.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Video : PHPMailer Install with Composer and Solve SMTP Error not authenticate using Gmail PHP Mailer"}]},{"@type":"WebSite","@id":"https:\/\/myfreeonlinetools.com\/blog\/#website","url":"https:\/\/myfreeonlinetools.com\/blog\/","name":"MyFreeOnlineTools","description":"","publisher":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/myfreeonlinetools.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/myfreeonlinetools.com\/blog\/#organization","name":"MyFreeOnlineTools","url":"https:\/\/myfreeonlinetools.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png","contentUrl":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png","width":387,"height":79,"caption":"MyFreeOnlineTools"},"image":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c","name":"myfreeonlinetools","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g","caption":"myfreeonlinetools"},"description":"Live in Delhi, Working in Gurgaon as Web Designer and Graphic Designer. Developed and Design myfreeonlinetools for online free tools. Also having youtube channel Name with LearnSchoolOnline. Traveling, watching movies, coding are the hobbies.","sameAs":["https:\/\/myfreeonlinetools.com\/","https:\/\/www.facebook.com\/LearnSchoolOnline\/","https:\/\/www.youtube.com\/learnschoolonline"]}]}},"_links":{"self":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/1523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/comments?post=1523"}],"version-history":[{"count":0,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/1523\/revisions"}],"wp:attachment":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/media?parent=1523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/categories?post=1523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/tags?post=1523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}