diff --git a/frappe/email/doctype/email_account/email_account.js b/frappe/email/doctype/email_account/email_account.js index 7333f243f4..a4bbbd72b7 100644 --- a/frappe/email/doctype/email_account/email_account.js +++ b/frappe/email/doctype/email_account/email_account.js @@ -1,5 +1,5 @@ email_defaults = { - "GMail": { + "Gmail": { "email_server": "pop.gmail.com", "use_ssl": 1, "enable_outgoing": 1, @@ -34,7 +34,7 @@ email_defaults = { }; email_defaults_imap = { - "GMail": { + "Gmail": { "email_server": "imap.gmail.com" }, "Outlook.com": { @@ -97,9 +97,9 @@ frappe.ui.form.on("Email Account", { }, show_gmail_message_for_less_secure_apps: function(frm) { frm.dashboard.reset(); - if(frm.doc.service==="GMail") { - frm.dashboard.set_headline_alert('GMail will only work if you allows access for Less Secure \ - Apps in GMail Settings. Read this for details'); } },