{"id":5647,"date":"2018-01-26T13:16:18","date_gmt":"2018-01-26T19:16:18","guid":{"rendered":"http:\/\/gregsowell.com\/?p=5647"},"modified":"2018-01-26T13:16:18","modified_gmt":"2018-01-26T19:16:18","slug":"otrs-to-gmail-failure","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=5647","title":{"rendered":"OTRS To Gmail Failure"},"content":{"rendered":"<p>When trying to fetch email from Gmail into my OTRS install I saw the following error:<\/p>\n<p>Facility:<br \/>\nOTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-19<\/p>\n<p>CommunicationLog(ID:29,AccountType:-,AccountID:-,Direction:Incoming,Transport:Email,ObjectLogType:Connection,ObjectLogID:29)::Kernel::System::MailAccount::IMAP => IMAPS: Auth for user SomeRandomEmailAddress@gregsowell.com\/imap.gmail.com failed!<\/p>\n<p>First, log into your gmail account.  Then go to &#8220;settings => forwarding and pop\/imap&#8221; and enable imap.<br \/>\nSecond, edit your account and set it to <a href=\"https:\/\/support.google.com\/accounts\/answer\/6010255\">allow &#8220;less secure apps to use your account&#8221;<\/a>.<\/p>\n<p>You should now be able to properly fetch&#8230;good luck and happy ticketing \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When trying to fetch email from Gmail into my OTRS install I saw the following error: Facility: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-19 CommunicationLog(ID:29,AccountType:-,AccountID:-,Direction:Incoming,Transport:Email,ObjectLogType:Connection,ObjectLogID:29)::Kernel::System::MailAccount::IMAP => IMAPS: Auth for user\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5647","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5647"}],"version-history":[{"count":1,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5647\/revisions"}],"predecessor-version":[{"id":5648,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5647\/revisions\/5648"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}