تخطَّ إلى المحتوى

Email

هذا المحتوى غير متوفر بلغتك بعد.

ɳSelf supports email delivery through built-in SMTP configuration and a growing list of provider integrations.

CapabilityDescription
SMTPDirect SMTP for any mail server
Auth emailMagic links, email verification, password reset
Mailpit (dev)Local email capture UI for development
16 provider integrationsVia the email plugin ecosystem

Configure SMTP in .env:

SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=noreply@example.com
SMTP_PASSWORD=your-smtp-password
SMTP_FROM=noreply@example.com
SMTP_SECURE=true

In development, all emails are captured by Mailpit. No emails leave the server. View captured emails at the Mailpit URL from nself urls.

The following providers are supported via plugins:

ProviderPlugin
SendGridplugin-sendgrid (pro)
Mailgunplugin-mailgun (pro)
Postmarkplugin-postmark (pro)

Install with:

Terminal window
nself plugin install sendgrid
VariableDescriptionDefault
SMTP_HOSTSMTP server hostnameRequired
SMTP_PORTSMTP port587
SMTP_USERSMTP usernameRequired
SMTP_PASSWORDSMTP passwordRequired
SMTP_FROMFrom addressRequired
SMTP_SECUREUse TLStrue

Home | _Sidebar