[15.0, 16.0] Removed mail default "From" feature? (params: mail.force.smtp.from, mail.dynamic.smtp.from)

Đang mở
#5,895 1 bình luận 3 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@tiku-odoo đang làm issue này rồi.

Từ ngày 22/9/2023.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Impacted versions: 15, 16

Documentation doesn't match the Odoo implementation/code anymore, since version 15.
This isn't an issue (ignore) for version 14, 13 (and maybe earlier).

According to documentation:

Both config params mail.force.smtp.from, mail.dynamic.smtp.from can be used to provide/override the outbound sender (From) address.

When obtaining and setup according to the documentation (links above), the outbound mails still result in error which the (documented) feature solved in version 14 and 13.

(example mail addresses non real-world):

SMTPRecipientsRefused: {'[email protected]': (553, b'5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected]')}

The implementation (code) exists in version 14, but not in version 15 and 16 (just search the params).
See code in version 14 (which doesn't exist in 15, 16):

  • Model: ir.mail_server
  • Function: _get_email_from

Currently: https://github.com/odoo/odoo/blob/14.0/odoo/addons/base/models/ir_mail_server.py#L356

Ngôn ngữ chính
reStructuredText
Star
1.4k
Fork
12.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của odoo/documentation

Tất cả issue của odoo/documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.