Настройки Elastic Email SMTP
Пошаговое руководство по настройке Zoho Mail SMTP для отправки email из вашего приложения.
table_chart Краткая справка
| Настройки | Значение |
|---|---|
| SMTP сервер | smtp.elasticemail.com |
| Порт (TLS) | 2525 Рекомендуется |
| Альтернативные порты | 587, 25 |
| Порт SSL | 465 |
| Имя пользователя | Email вашего аккаунта Elastic Email |
| Пароль | SMTP API ключ |
| Описание | TLS или SSL |
| Бесплатный тариф | 100 писем/день |
Пошаговая инструкция
Создание аккаунта Elastic Email
Sign up for a free account at elasticemail.com. The free plan includes 100 emails per day.
Верификация домена
Go to Settings > Domains and add your sending domain. Add SPF and DKIM DNS records for authentication.
Создание SMTP API ключа
Перейдите в Настройки > SMTP/API и создайте новые SMTP учётные данные.
API ключ показывается только один раз. Сохраните его в надёжном месте!
Настройте ваше приложение
Use smtp.elasticemail.com:2525 with your account email and SMTP API key.
Примеры кода
import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
# Elastic Email SMTP settings
SMTP_HOST = "smtp.elasticemail.com"
SMTP_PORT = 2525
SMTP_USER = "your-email@example.com"
SMTP_PASS = "your-smtp-api-key"
# Create message
msg = MIMEMultipart()
msg['From'] = "your-email@example.com"
msg['To'] = "recipient@example.com"
msg['Subject'] = "Test Email via Elastic Email"
body = "This is a test email sent via Elastic Email SMTP."
msg.attach(MIMEText(body, 'plain'))
# Send email
with smtplib.SMTP(SMTP_HOST, SMTP_PORT) as server:
server.starttls()
server.login(SMTP_USER, SMTP_PASS)
server.send_message(msg)
print("Email sent successfully!")
Тарифы
100 писем/день
- check SMTP & API
- check Базовая аналитика
- check Шаблоны писем
/месяц
- check 50,000+ писем
- check Расширенная аналитика
- check A/B тестирование
- check Автоматизация
Решение проблем
Таймаут соединения
Try different ports: 2525, 587, or 465. Port 2525 is rarely blocked by ISPs.
Ошибка аутентификации
Verify your account email as username and SMTP API key as password. Generate a new key if needed.
Письма попадают в спам
Verify your domain with SPF and DKIM records. Use a custom tracking domain and warm up your sending reputation.
Часто задаваемые вопросы
Что включает бесплатный тариф?
The free plan includes 100 emails per day, SMTP and API access, basic analytics, and email templates.
Можно ли отправлять маркетинговые письма через Elastic Email?
Yes, Elastic Email supports both transactional and marketing emails with their email campaigns feature.