소스 검색

Merge pull request #13293 from anandology/sendmail-issue-13292

fix: issue with sending emails
version-14
mergify[bot] 4 년 전
committed by GitHub
부모
커밋
109c1882c5
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      frappe/email/doctype/email_queue/email_queue.py

+ 1
- 1
frappe/email/doctype/email_queue/email_queue.py 파일 보기

@@ -102,7 +102,7 @@ class EmailQueue(Document):

message = ctx.build_message(recipient.recipient)
if not frappe.flags.in_test:
ctx.smtp_session.sendmail(recipient.recipient, self.sender, message)
ctx.smtp_session.sendmail(from_addr=self.sender, to_addrs=recipient.recipient, msg=message)
ctx.add_to_sent_list(recipient)

if frappe.flags.in_test:


불러오는 중...
취소
저장