fix(ux): correct email account setup path in error message (#20513)
This commit is contained in:
parent
9758781f80
commit
2cb492561a
3 changed files with 3 additions and 3 deletions
|
|
@ -165,7 +165,7 @@ def _make(
|
|||
if not comm.get_outgoing_email_account():
|
||||
frappe.throw(
|
||||
_(
|
||||
"Unable to send mail because of a missing email account. Please setup default Email Account from Setup > Email > Email Account"
|
||||
"Unable to send mail because of a missing email account. Please setup default Email Account from Settings > Email Account"
|
||||
),
|
||||
exc=frappe.OutgoingEmailError,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -325,7 +325,7 @@ class EmailAccount(Document):
|
|||
|
||||
if _raise_error:
|
||||
frappe.throw(
|
||||
_("Please setup default Email Account from Setup > Email > Email Account"),
|
||||
_("Please setup default Email Account from Settings > Email Account"),
|
||||
frappe.OutgoingEmailError,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ class SMTPServer:
|
|||
if not self.server:
|
||||
frappe.msgprint(
|
||||
_(
|
||||
"Email Account not setup. Please create a new Email Account from Setup > Email > Email Account"
|
||||
"Email Account not setup. Please create a new Email Account from Settings > Email Account"
|
||||
),
|
||||
raise_exception=frappe.OutgoingEmailError,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue