{"id":7110,"date":"2022-11-18T21:39:14","date_gmt":"2022-11-19T05:39:14","guid":{"rendered":"https:\/\/www.terabyteunlimited.com\/kb\/?post_type=lsvr_kba&#038;p=7110"},"modified":"2022-11-28T21:10:33","modified_gmt":"2022-11-29T05:10:33","slug":"sending-emails-from-image-for-windows-to-gmail-server-fails","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/sending-emails-from-image-for-windows-to-gmail-server-fails\/","title":{"rendered":"Sending Emails from Image for Windows to Gmail Server Fails"},"content":{"rendered":"  <p><strong><font color=\"#ff5500\">Problem:<\/font><\/strong> <\/p>\r\n  <p>Emails sent from Image for Windows to Gmail server fail.<\/p>\r\n  <p><strong><font color=\"#ff5500\">Cause:<\/font><\/strong> <\/p>\r\n  <p>Google blocks apps and devices it considers less secure from accessing the account using the normal login details.<\/p>\r\n  <p><strong><font color=\"#ff5500\">Solution:<\/font><\/strong><\/p>\r\n  <p>Create a Google account app password to use with Image for Windows. The app password along with 2-Step verification gives a less secure app permission to access the Google account.<\/p>\r\n<p><font color=\"#005858\"><strong>Create Google Account App Password:<\/strong><\/font><\/p>\r\n  <ol>\r\n    <li>Sign into your Google Account: <a href=\"https:\/\/myaccount.google.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/myaccount.google.com\/<\/a> <br>\r\n      <br>\r\n    <\/li>\r\n    <li>Once signed in, click the <strong>Security<\/strong> section (this may be on the left side of the page or across the top depending on the page size).<br>\r\n      <br><img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/gmailapppswd\/apppswd_a.png\" \/>\r\n<br>\r\n      <br>\r\n    <\/li>\r\n    <li>In the <em>Signing in to Google<\/em> section, ensure that <strong>2-Step Verification<\/strong> is enabled. If not, you will need to click that section and enable it before the <strong>App passwords<\/strong> section will be available for selection. <strong>Note:<\/strong> If 2-Step Verification is only set up for security keys you will not be able to use app passwords.<br>\r\n      <br><img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/gmailapppswd\/apppswd_b.png\" \/>\r\n<br>\r\n      <br>\r\n    <\/li>\r\n    <li>In the <em>Signing in to Google<\/em> section, click the <strong>App passwords<\/strong> section (enter your password if prompted).<br>\r\n      <br><img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/gmailapppswd\/apppswd_c.png\" \/>\r\n<br>\r\n<br>\r\n      <strong>Note:<\/strong> If the <strong>App passwords<\/strong> option is not available it may be because: <\/li>\r\n    <ul>\r\n      <li>2-Step Verification is not set up for your account<\/li>\r\n      <li>2-Step Verification is only set up for security keys<\/li>\r\n      <li>Your account is through work, school, or other organization<\/li>\r\n      <li>You turned on Advanced Protection<br>\r\n        <br>\r\n      <\/li>\r\n    <\/ul>\r\n    <li>On the <em>App passwords<\/em> screen, under <strong>Select the app and device you want to generate the app password for<\/strong>, click the <strong>Select app<\/strong> drop-down and select the <strong>Other (Custom name)<\/strong> option.<br>\r\n      <br><img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/gmailapppswd\/apppswd_d.png\" \/>\r\n<br>\r\n      <br>\r\n    <\/li>\r\n    <li>Enter the name for the app password. For example: <font color=\"#008800\"><strong>IFW-Email<\/strong><\/font><br>\r\n      <br><img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/gmailapppswd\/apppswd_e.png\" \/>\r\n<br>\r\n      <br>\r\n    <\/li>\r\n    <li>Click the <strong>GENERATE<\/strong> button to create the password.<br>\r\n      <br>\r\n    <\/li>\r\n    <li>The generated app password will be displayed. Copy or make note of the 16-character password to use with Image for Windows.<br>\r\n      <br><img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/gmailapppswd\/apppswd_f.png\" \/>\r\n    <\/li>\r\n    <\/ol>\r\n    <p><font color=\"#005858\"><strong>Configure Image for Windows to use App Password<\/strong><\/font><\/p>\r\n    <ol>\r\n    <li>Run Image for Windows and go into <strong>Settings<\/strong>.<br>\r\n      <br>\r\n    <\/li>\r\n    <li>On the <strong>Email<\/strong> tab, configure the settings as follows. Use your gmail.com email login address (myemail@gmail.com is used in this example) and the app password you created.<br>\r\n      Server: <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>smtp.gmail.com<\/strong><\/font><br>\r\n      Port: <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>587 TLS<\/strong><\/font><br>\r\n      User: <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>myemail@gmail.com<\/strong><\/font><br>\r\n      Password: <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>&lt;enter your App Password here&gt;<\/strong><\/font><br>\r\n      <br>\r\n      Configure the remaining email fields as desired for the emails. <br>\r\n      <br><img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/gmailapppswd\/apppswd_g.png\" \/>\r\n<br>\r\n      <br>\r\n    <\/li>\r\n    <li>Click the <strong>Test<\/strong> button to send a test email.<\/li>\r\n    <\/ol>\r\n  <p><strong>Note:<\/strong> If the email fields are configured correctly and Image for Windows is still not sending operation emails, make sure the log level option to flush logging is disabled (if enabled, emails will not be sent). This option is <strong>LogLevel<\/strong> in the ifw.ini file or <strong>\/logl<\/strong> on the command line. Details on this option can be found in the Image for Windows manual.<\/p>\r\n  <hr>\r\n  <p>For more details, reference the Google  support article on creating and signing in with app passwords:<br>\r\n    <a href=\"https:\/\/support.google.com\/accounts\/answer\/185833\" target=\"_blank\" rel=\"noopener\">https:\/\/support.google.com\/accounts\/answer\/185833<\/a><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Problem: Emails sent from Image for Windows to Gmail server fail. Cause: Google blocks apps and devices it considers less secure from accessing the account using the normal login details. Solution: Create a Google account app password to use with Image for Windows. The app password along with 2-Step verification gives a less secure app [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1790],"lsvr_kba_tag":[],"class_list":["post-7110","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-problem-solving-image-for-windows"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/7110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=7110"}],"version-history":[{"count":5,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/7110\/revisions"}],"predecessor-version":[{"id":7129,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/7110\/revisions\/7129"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=7110"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=7110"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=7110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}