|
|
@@ -470,8 +470,8 @@ def get_request_header(key, default=None): |
|
|
|
|
|
|
|
def sendmail(recipients=[], sender="", subject="No Subject", message="No Message", |
|
|
|
as_markdown=False, delayed=True, reference_doctype=None, reference_name=None, |
|
|
|
unsubscribe_method=None, unsubscribe_params=None, unsubscribe_message=None, |
|
|
|
attachments=None, content=None, doctype=None, name=None, reply_to=None, |
|
|
|
unsubscribe_method=None, unsubscribe_params=None, unsubscribe_message=None, add_unsubscribe_link=1, |
|
|
|
attachments=None, content=None, doctype=None, name=None, reply_to=None, queue_separately=False, |
|
|
|
cc=[], bcc=[], message_id=None, in_reply_to=None, send_after=None, expose_recipients=None, |
|
|
|
send_priority=1, communication=None, retry=1, now=None, read_receipt=None, is_notification=False, |
|
|
|
inline_images=None, template=None, args=None, header=None, print_letterhead=False, with_container=False): |
|
|
@@ -518,10 +518,10 @@ def sendmail(recipients=[], sender="", subject="No Subject", message="No Message |
|
|
|
from frappe.email import queue |
|
|
|
queue.send(recipients=recipients, sender=sender, |
|
|
|
subject=subject, message=message, text_content=text_content, |
|
|
|
reference_doctype = doctype or reference_doctype, reference_name = name or reference_name, |
|
|
|
reference_doctype = doctype or reference_doctype, reference_name = name or reference_name, add_unsubscribe_link=add_unsubscribe_link, |
|
|
|
unsubscribe_method=unsubscribe_method, unsubscribe_params=unsubscribe_params, unsubscribe_message=unsubscribe_message, |
|
|
|
attachments=attachments, reply_to=reply_to, cc=cc, bcc=bcc, message_id=message_id, in_reply_to=in_reply_to, |
|
|
|
send_after=send_after, expose_recipients=expose_recipients, send_priority=send_priority, |
|
|
|
send_after=send_after, expose_recipients=expose_recipients, send_priority=send_priority, queue_separately=queue_separately, |
|
|
|
communication=communication, now=now, read_receipt=read_receipt, is_notification=is_notification, |
|
|
|
inline_images=inline_images, header=header, print_letterhead=print_letterhead, with_container=with_container) |
|
|
|
|
|
|
|