コンテナからのメール送信

CircleCI のコンテナ内から直接電子メール (SMTP) を送信するのは、ほとんどのユーザーにとって問題が多いことが判明しているため、おすすめしません。

The CircleCI 2.0 fleet currently runs on Amazon's EC2 cloud, where port 25 is throttled by default. As containers are spun up across many hosts at random, there is a much greater chance the IP address you are accessing is going to be rate limited due to the use of the port by other users in the past. Since containers are "highly available" on EC2 there is a high probability that any mail you manage to send will likely end up in the "spam" folder of the recipient.

電子メールの送信方法

The suggested method for mailing is to connect to an external API-based service such as SendGrid or Mailgun.

Connecting to an external transactional email provider is the fastest and most robust option, ensuring your mail will be delivered and avoid ending up in spam.

この記事は役に立ちましたか?
7人中4人がこの記事が役に立ったと言っています