Sign inGet Started

SMTP

Send Django email with SMTP

Configure Django's SMTP email backend to deliver through Parcel Wing.

SMTP settings

Copy the exact values from your in-app Settings page. Most accounts use these defaults.

SettingValue
Hostsmtp.parcelwing.com
Port587
SecuritySTARTTLS
Usernameparcelwing
PasswordAny active Parcel Wing API key

Settings

Store your Parcel Wing API key in environment variables, then update your Django settings module.

settings.py

EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
EMAIL_HOST = "smtp.parcelwing.com"
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = "parcelwing"
EMAIL_HOST_PASSWORD = os.environ["PARCELWING_API_KEY"]
DEFAULT_FROM_EMAIL = "Acme <[email protected]>"

Use a verified sender

Your from address should belong to a sending domain that is verified in Parcel Wing. This keeps SPF, DKIM, and DMARC aligned for better deliverability.

Troubleshooting

  • Use port 587 with STARTTLS, not implicit TLS on port 465.
  • Use parcelwing as the username and an active Parcel Wing API key as the password.
  • Make sure the sender address uses a verified sending domain.
  • If a vendor has a test email button, send a test before enabling production email.