... ed mail.mailers for obtaining configured email backend instances, replacing mail.get_connection() . A new using argument replaces the earlier connection in Django functions tha ... ode needing updates. 注釈 Running tests may not identify all relevant deprecations. Test suites often use a non-functional email backend (such as the memory backend that Django substitutes during tests ), so can miss deprecation warnings that are only issued ... use these specific features: Replacing get_connection() and connection arguments Replacing fail_silently Migrating custom email backends Replacing auth_user and auth_password Updating AdminEmailHandler email_backend Ignoring transient failures in error repo ... ... ed mail.mailers for obtaining configured email backend instances, replacing mail.get_connection() . A new using argument replaces the earlier connection in Django functions tha ... ode needing updates. 注釈 Running tests may not identify all relevant deprecations. Test suites often use a non-functional email backend (such as the memory backend that Django substitutes during tests ), so can miss deprecation warnings that are only issued ... use these specific features: Replacing get_connection() and connection arguments Replacing fail_silently Migrating custom email backends Replacing auth_user and auth_password Updating AdminEmailHandler email_backend Ignoring transient failures in error repo ... ... through an SMTP server running on the local machine: MAILERS = { "default" : { "BACKEND" : "django.core.mail.backends.smtp.EmailBackend" , "OPTIONS" : { "host" : "localhost" , }, }, } Django abstracts the email sending process into an "email backend" class. ... メールのバックエンド lists the email backends that come with Django. The example above uses Django's SMTP email backend , which sends using the standard SMTP protocol ... ing SMTP servers in your own infrastructure and most commercial email service providers (ESPs). There are also third-party email backends available that integrate directly with ESP APIs or add other sending features. During development or testing you often d ... ... through an SMTP server running on the local machine: MAILERS = { "default" : { "BACKEND" : "django.core.mail.backends.smtp.EmailBackend" , "OPTIONS" : { "host" : "localhost" , }, }, } Django abstracts the email sending process into an "email backend" class. ... メールのバックエンド lists the email backends that come with Django. The example above uses Django's SMTP email backend , which sends using the standard SMTP protocol ... ing SMTP servers in your own infrastructure and most commercial email service providers (ESPs). There are also third-party email backends available that integrate directly with ESP APIs or add other sending features. During development or testing you often d ... ... on does not trigger the pre_delete or post_delete signals. Mailers ¶ The new MAILERS setting supports configuring multiple email backends with different options, similar to existing mechanisms for CACHES , DATABASES , STORAGES , and TASKS : MAILERS = { "defa ... ult" : { "BACKEND" : "django.core.mail.backends.smtp.EmailBackend" , "OPTIONS" : { "host" : "smtp.example.com" , "use_tls" : True }, }, "marketing" : { "BACKEND" : "example.third.party.Ema ... "region" : "africa-1" }, }, } You can select a mailer with the new using argument to email sending functions, or obtain an email backend instance with mail.mailers[alias] . See メールを送信する for more details. MAILERS is not yet enabled by default in exist ... ... on does not trigger the pre_delete or post_delete signals. Mailers ¶ The new MAILERS setting supports configuring multiple email backends with different options, similar to existing mechanisms for CACHES , DATABASES , STORAGES , and TASKS : MAILERS = { "defa ... ult" : { "BACKEND" : "django.core.mail.backends.smtp.EmailBackend" , "OPTIONS" : { "host" : "smtp.example.com" , "use_tls" : True }, }, "marketing" : { "BACKEND" : "example.third.party.Ema ... "region" : "africa-1" }, }, } You can select a mailer with the new using argument to email sending functions, or obtain an email backend instance with mail.mailers[alias] . See メールを送信する for more details. MAILERS is not yet enabled by default in exist ... ... にのみ使用されます(詳細は、 ミドルウェア (Middleware) を参照)。 EMAIL_BACKEND ¶ Default: ' django.core.mail.backends.smtp.EmailBackend ' 使用するメール送信のバックエンド。利用可能なバックエンドのリストについては、 メールのバックエンド を参照してください。 バ ... nd will be removed in Django 2028. Its replacement is "file_path" under OPTIONS in a MAILERS definition that uses the file email backend. See Migrating email to mailers . EMAIL_HOST ¶ デフォルト値: 'localhost' E メール送信に使われるホストです。 EMAIL_PORT も ... ted and will be removed in Django 2028. Its replacement is "host" under OPTIONS in a MAILERS definition that uses the SMTP email backend. See Migrating email to mailers . EMAIL_HOST_PASSWORD ¶ デフォルト値: '' (空文字列) EMAIL_HOST 内で定義された SMTP サーバ ... ... にのみ使用されます(詳細は、 ミドルウェア (Middleware) を参照)。 EMAIL_BACKEND ¶ Default: ' django.core.mail.backends.smtp.EmailBackend ' 使用するメール送信のバックエンド。利用可能なバックエンドのリストについては、 メールのバックエンド を参照してください。 バ ... nd will be removed in Django 2028. Its replacement is "file_path" under OPTIONS in a MAILERS definition that uses the file email backend. See Migrating email to mailers . EMAIL_HOST ¶ デフォルト値: 'localhost' E メール送信に使われるホストです。 EMAIL_PORT も ... ted and will be removed in Django 2028. Its replacement is "host" under OPTIONS in a MAILERS definition that uses the SMTP email backend. See Migrating email to mailers . EMAIL_HOST_PASSWORD ¶ デフォルト値: '' (空文字列) EMAIL_HOST 内で定義された SMTP サーバ ... ... rmissions , permissions for anonymous users , and more flexible username requirements . Customization of email sending via email backends . New "smart" if template tag which supports comparison operators. These are just the highlights; full details and a com ... now configure the way that Django sends email . Instead of using SMTP to send all email, you can now choose a configurable email backend to send messages. If your hosting provider uses a sandbox or some other non-SMTP technique for sending mail, you can now ... construct an email backend that will allow Django's standard mail sending methods to use those facilities. This also makes it easier to debug mail s ... ... 提供する必要があります。以前、DjangoはWSGI仕様で想定される挙動よりも寛容でした。 PROJ < 5 のサポートが削除されました。 SMTP EmailBackend now verifies a hostname and certificates . If you need the previous behavior that is less restrictive and not recommended, ... subclass EmailBackend and override the ssl_context property. 4.2 で非推奨となった機能 ¶ index_together オプションは indexes を優先するため非推奨 ... 2026年10月08日