@@ -1 +1 @@ | |||||
__version__ = "4.11.2" | |||||
__version__ = "4.11.3" |
@@ -3,7 +3,7 @@ app_title = "Frappe Framework" | |||||
app_publisher = "Web Notes Technologies Pvt. Ltd." | app_publisher = "Web Notes Technologies Pvt. Ltd." | ||||
app_description = "Full Stack Web Application Framework in Python" | app_description = "Full Stack Web Application Framework in Python" | ||||
app_icon = "assets/frappe/images/frappe.svg" | app_icon = "assets/frappe/images/frappe.svg" | ||||
app_version = "4.11.2" | |||||
app_version = "4.11.3" | |||||
app_color = "#3498db" | app_color = "#3498db" | ||||
app_email = "support@frappe.io" | app_email = "support@frappe.io" | ||||
@@ -23,8 +23,6 @@ def get_email(recipients, sender='', msg='', subject='[No Subject]', | |||||
for attach in (attachments or []): | for attach in (attachments or []): | ||||
emailobj.add_attachment(**attach) | emailobj.add_attachment(**attach) | ||||
emailobj.validate() | |||||
return emailobj | return emailobj | ||||
class EMail: | class EMail: | ||||
@@ -15,6 +15,8 @@ def send(email, as_bulk=False): | |||||
frappe.msgprint(_("Emails are muted")) | frappe.msgprint(_("Emails are muted")) | ||||
return | return | ||||
email.validate() | |||||
try: | try: | ||||
smtpserver = SMTPServer() | smtpserver = SMTPServer() | ||||
if hasattr(smtpserver, "always_use_login_id_as_sender") and \ | if hasattr(smtpserver, "always_use_login_id_as_sender") and \ | ||||
@@ -1,7 +1,7 @@ | |||||
from setuptools import setup, find_packages | from setuptools import setup, find_packages | ||||
import os | import os | ||||
version = "4.11.2" | |||||
version = "4.11.3" | |||||
with open("requirements.txt", "r") as f: | with open("requirements.txt", "r") as f: | ||||
install_requires = f.readlines() | install_requires = f.readlines() | ||||