외부 발송 메시지 관리

Sending emails with Odoo’s default configuration

On Odoo Online and Odoo.sh, sending and receiving emails works out of the box. No configuration is required.

When a database is created, the subdomain company-name.odoo.com is used to send and receive emails. The deliverability is optimized for this subdomain as it uses Odoo’s DNS configuration.

Example

If the database subdomain is company-name.odoo.com and all mailing configurations are the default ones, all emails will be sent from notifications@company-name.odoo.com.

Odoo’s default outbound messages configuration.

Emails are sent with catchall@company-name.odoo.com as the reply-to address. In addition, delivery errors are sent to bounce@company-name.odoo.com.

참고

캐치올, 반송 및 알림 주소의 경우에는 다른 별칭과 같은 방식으로 작동하지 않습니다. 이 항목에는 데이터베이스에 레코드를 생성하는 기능이 없습니다. 별칭으로 전송된 이메일은 자동으로 라우팅되어 기존 및 연결된 레코드에 회신을 하거나 데이터베이스에서 새로운 레코드를 생성합니다.

Using a custom domain to send emails

데이터베이스에서 사용자 지정 도메인을 사용하도록 설정할 수 있으며, 이 경우 모든 기본 이메일 주소는 사용자 지정 도메인을 통해 구축됩니다. 사용자 지정 도메인이 company-name.com`인 경우 발신자 주소는 `notifications@company-name.com`이 되고, *회신* 주소는 `catchall@company-name.com, 반송 주소는 `bounce@company-name.com`이 됩니다. 사용자 지정 도메인은 Odoo의 이메일 서버 또는 외부 이메일 서버를 사용하여 이메일을 전송할 경우 활용할 수 있습니다.

This section assumes ownership of a custom domain. If not, a custom domain must be purchased from a domain registrar such as GoDaddy, Namecheap, or any alternative provider.

Using a custom domain with Odoo’s email server

On Odoo Online or Odoo.sh, some configurations are mandatory in the custom domain’s DNS to ensure good deliverability.

경고

Most of the configuration will be done on the domain provider’s side, and it might require some configuration on the mail server itself. Some technical knowledge is required.

The first step is to configure the SPF and DKIM to be compliant with Odoo’s mail server.

Next, the custom domain must be set as the alias domain of a company. Select the company, open the Settings, and add the custom domain under the Alias Domain field.

별칭 도메인을 추가한 후, 필요한 경우 (내부 링크) 아이콘을 클릭하면 사용자 지정 도메인에 다른 회사를 더 지정할 수 있습니다. 개발자 모드 를 활성화할 경우 기본 별칭을 수정할 수도 있습니다.

  • Bounce Alias: the mailbox used to catch delivery errors and populate the red envelope on the corresponding message.

  • Catchall Alias: the default mailbox used to centralize all replies.

  • Default From Alias: the default sender address.

참고

처음으로 별칭 도메인을 생성하면 모든 회사에서 이 도메인을 사용하게 됩니다. 새 회사를 생성하면 별칭 도메인이 자동으로 설정되며 우선순위는 가장 낮게 설정됩니다 (개발자 모드 에 있는 별칭 도메인 목록에 표시됨).

All email aliases (e.g., related to CRM or Helpdesk teams) must have their corresponding mailbox in the custom domain mail server.

Technical schema of external mail server configuration with Odoo.

To receive emails in the Odoo database within the corresponding chatter (CRM, invoices, sales orders, etc.), one of these three methods must be used:

Using a custom domain implies that specific local-parts might be used by Odoo to send emails.

Sending emails with an external SMTP server

참고

If utilizing your own outgoing mail server, it must be paired with your own domain, as updating the DNS of an Odoo subdomain is not feasible.

To add an external SMTP server in Odoo, open Settings, and enable the Use Custom Email Servers option found under the Discuss section.

계속하여 메일 및 채팅 섹션에서 발신 이메일 서버 를 클릭한 다음 새로 만들기 를 클릭하여 발신 메일 서버 레코드를 생성합니다. 대부분은 SMTP 서버에 대한 연결을 설정하는 데 사용하는 일반적인 매개변수입니다. 이메일 공급업체에서 제공한 값을 사용합니다.

완료되면 연결 테스트 를 클릭합니다. 연결 테스트에 성공했다고 해서 이메일 전송이 보장되는 것은 아닙니다.공급자 측에서 계속 제한되는 항목이 있을 수 있으므로 공급자 문서를 참조하는 것이 좋습니다.

Local-part values

Below are presented the different local-part values that can be used by Odoo to send emails. It might be required to whitelist them in your mail server:

  • The Alias Domain Bounce Alias (default value = bounce),

  • The Alias Domain Default From (default value = notifications),

  • The default admin address admin@company-name.odoo.com or, if changed, the new value),

  • The default Odoobot address odoobot@company-name.odoo.com or, if changed, the new value),

  • The specific FROM defined on an email marketing campaign,

  • The specific FROM that can be defined in an email template.

Setting up different servers for transactional and mass emails

Personalized mail servers

Odoo에서 별도의 이메일 서버를 통해 거래 이메일 및 대량 메일을 발송할 수 있습니다. 이렇게 하면 고객에게 보내는 일상적인 이메일, 견적서 또는 청구서를 거래 이메일 로 처리하게 됩니다. 대량 발송 이메일 는 청구서나 견적서를 일괄 발송하는 것과 같은 경우와 같이, 마케팅 자동화 또는 이메일 마케팅 애플리케이션에서 관리합니다.

Example

You can use services like Gmail, Amazon SES, or Brevo for transactional emails, and services like Mailgun, Sendgrid, or Mailjet for mass mailings.

먼저 개발자 모드`를 활성화한 후 :menuselection:`설정 –> 기술 –> 이메일: 발신 메일 서버 로 이동합니다. 여기에서 두 개의 발신 이메일 서버 레코드를 추가하며, 이때 하나는 트랜잭션 이메일 서버용이고 다른 하나는 대량 메일 서버용입니다. 트랜잭션 서버에 대한 우선순위 값을 대량 메일 서버 (예: 2)보다 낮게 입력 (예: 1)하여 트랜잭션 이메일이 우선순위에 오도록 합니다.

Example of split between transaction and mass mailing mail servers.

이제 이메일 마케팅 ‣ 환경 설정 ‣ 설정 으로 이동하여 전용 서버 를 활성화하고 알맞은 이메일 서버를 선택합니다. Odoo는 트랜잭션 이메일에 대해서는 가장 우선순위 값이 낮은 서버를 사용하고 대량 메일의 경우에는 여기에서 선택한 서버를 사용합니다.

Dedicated mail server on Email Marketing app settings.

FROM filtering

중요

It’s highly recommended to configure the FROM Filtering on the outgoing mail servers as per the instructions of your provider.

보낸 사람 필터 를 적용하면 보낸 사람 이메일 주소 또는 도메인에 따라 Odoo를 통해 전송하는 발신 이메일 서버를 사용할 수 있습니다.이 값은 반드시 보낸 사람의 이메일 주소와 일치하고 발신 메일 서버 공급자 측에서 신뢰하는 도메인 혹은 전체 이메일 주소 여야 합니다.

If FROM filtering is not used, emails will go out using the notification address.

경고

Some outgoing mail servers require a specific configuration of the FROM filter.

When an email is sent from Odoo, the following sequence is used to choose the outgoing email server:

  • 먼저 Odoo는 발신 이메일에 지정되어 있는 발신자 값 (예: 이메일 주소)과 동일한 발신자 필터 값이 있는 서버를 검색합니다. 이 설정 방식은 모든 사용자가 동일한 도메인을 공유하는 회사에서 로컬 파트가 다른 경우에 가장 유용하게 활용할 수 있습니다.

Example

If the sender’s email address is test@example.com, only an email server having a FROM filtering value equal to test@example.com or example.com can be used.

  • 첫 번째 기준에 부합하는 서버가 검색되지 않는 경우 Odoo에서는 발신자 필터 값 설정을 해제한 후 나타나는 첫 번째 서버를 검색합니다. 이메일은 알림 주소로 변경됩니다.

  • If no server is found based on the second criteria, Odoo uses the first server, and the email will be overridden with the notification address.

참고

어떤 서버를 우선적으로 사용하게 할지 정하기 위해 Odoo에서는 우선순위 값을 사용합니다 (값이 낮을수록 우선순위가 높음). 이 방법 외에도 서버명을 기준으로 알파벳 순서에 따라 첫 번째 서버를 정합니다.

It is also possible to use Odoo’s mail server for transactional emails in addition to mass mailings.

Using an external email server and Odoo’s default server

On Odoo Online and Odoo.sh, databases are started with Odoo’s SMTP server. If no outgoing mail server is set, the default Odoo’s SMTP server will be used.

Adding a mail server using the Odoo's mail server with the CLI authentication.

Example

발신 메일 서버가 Odoo의 기본 서버 (CLI)와 동시에 사용되는 경우에는 발신 메일 서버의 FROM 필터에는 사용자 지정 도메인이 포함되어야 하고 CLI의 FROM 필터에는 Odoo의 하위 도메인이 포함되어야 합니다. FROM 필터가 지정되지 않을 경우 알림 주소를 통해 이메일을 발송합니다.

Splitting of Odoo mail server for transactional emails and Mail server for Mass mailing.

참고

On Odoo Online, the command line interface is equivalent to the default Odoo mail server, using the same limit as if there was no outgoing mail server in place.

Odoo 온라인에서는 이 페이지에서도 일일 이메일 사용량과 일일 한도가 표시됩니다. Odoo.sh에서는 모니터 페이지에서 전송된 발신 이메일 수를 확인해야 합니다.

참고

On Odoo.sh, to use the command-line interface, an outgoing mail server can be configured on the configuration file.

경고

Odoo’s mail server is meant for transactional emails and small-scale marketing campaigns. The daily limit depends on the database type and the applications used.

Using a custom domain with an external email server

:ref:` 이전 내용 <email-outbound-different-servers-external-odoo>` 과 마찬가지로, 외부 이메일 서버에서 사용자 지정 도메인으로 이메일을 전송할 수 있게 하려면 알맞게 환경 설정을 해야 합니다. 공급업체 문서를 참조하여 관련 레코드 (SPF, DKIM 및 DMARC)를 올바르게 설정합니다. 가장 많이 선택하는 업체 목록을 참조하세요.

참고

자체 도메인을 사용하는 경우에는 DNS 환경 설정을 해야 합니다. 외부 발신 메일 서버를 사용하더라도, 사용자 지정 이메일 서버는 Odoo와 독립적이기 때문에 메일 서버용 Odoo DNS 설정 문서 에 설명된 대로 레코드를 구성하더라도 기대하는 효과를 얻을 수 없습니다. Odoo에서는 Odoo 하위 도메인 설정을 하는 것이 허용되지 않습니다.

포트 제한

Port 25 is blocked for security reasons on Odoo Online and Odoo.sh. Try using port 465, 587, or 2525 instead.

별칭 도메인

The catchall domain is company-specific. By default, all companies share Odoo’s subdomain (e.g., company-name.odoo.com), but each company may have its own custom email domain.

When the 개발자 모드 (디버그 모드) is activated, the alias domain options are available by going to Settings ‣ Technical ‣ Email: Alias Domains.

경고

별칭 도메인을 수정할 때는 매우 신중하게 진행하도록 합니다. 별칭 (반송, 캐치올, 발신 기본값)이 변경될 경우 이전 이메일이 새 별칭으로 제대로 리디렉션되지 않을 경우 모두 손실됩니다.

기본 발신자 별칭 에는 이메일 주소의 로컬 부분 (기본적으로 알림) 또는 전체 이메일 주소가 입력됩니다. 이메일의 발신자 헤더를 환경 설정에서 지정합니다. 전체 이메일 주소를 사용할 경우 모든 발신 이메일을 이 주소로 덮어씁니다.

Notification system

메시지창에서 이메일을 발송하면 고객이 바로 답신을 할 수 있습니다. 고객이 이메일에 직접 답신할 경우 해당 답신 메일이 같은 메시지창에 기록되어 레코드와 관련된 메시지 스레드로 기능을 하게 됩니다.

답장을 받으면 Odoo는 구독한 팔로워 (구독한 하위 유형에 따라)를 대상으로 사용자의 기본 설정에 따라 이메일이나 Odoo 받은 편지함으로 알림을 보냅니다.

Example

이메일 주소가 “Mary” <mary@customer.example.com> 인 고객이 Odoo 데이터베이스에서 받은 이메일에 직접 답장할 경우, Odoo에서는 스레드에 있는 모든 팔로워에게 이메일 내용을 다시 배포하는 것이 기본적인 동작으로 설정되어 있습니다.

Mary라는 이름을 쓰는 직원의 도메인은 별칭 도메인이 없으므로 Odoo에서는 이메일 주소를 재지정한 후 안내용 이메일 주소를 사용하여 팔로워에게 안내합니다. 재지정 내용은 데이터베이스 설정에 따라서 달라집니다. 기본적으로 Odoo 온라인 및 Odoo.sh에서 이메일의 보낸 사람 주소는 mary@customer.example.com 대신 notifications@company-name.odoo.com 값으로 재지정됩니다.

The address is constructed using the name of the sender and {alias domain, default from alias}`@`{alias domain, domain name}, by default, notifications@company-name.odoo.com.

Using a unique email address for all outgoing emails

이메일을 발송할 이메일 주소를 강제로 지정하려면 개발자 모드 를 활성화한 후 설정 ‣ 기술 ‣ 이메일: 별칭 ​​도메인 으로 이동합니다. 기본 발신자 별칭 에서 로컬 부분 또는 전체 이메일 주소를 값으로 사용합니다.

경고

If a complete address is used as the Default From Alias value, all outgoing emails will be overwritten by this address.