SMTP Credentials
Create SMTP credentials to send email through Taifa Mail using any SMTP client or library.
SMTP credentials let you send email through Taifa Mail using the standard SMTP protocol. Use them with any programming language, framework, or email client that supports SMTP.
Creating SMTP credentials
- Go to Settings → SMTP Credentials.
- Click Create.
- Select the verified domain the credential is linked to. The domain must be verified first - credentials cannot be created for an unverified domain.
- Click Create.
- Copy the username and password immediately.
The username is generated for you in the form <id>@yourdomain.com. The host, port, username, and password are all shown on the creation screen.
The SMTP password is shown only once at creation time. Store it securely. If you lose it, delete the credential and create a new one.
Each verified domain can have one active SMTP credential at a time. If a credential already exists for a domain, delete it before creating a new one. The number of credentials you can hold also depends on your plan.
SMTP connection settings
The exact host is shown on the creation screen alongside your username and password. Use those values rather than copying them from here.
| Setting | Value |
|---|---|
| Host | mail.govconnect.ke (shown at creation) |
| Port | 587 |
| Encryption | STARTTLS |
| Username | Generated, shown at creation (format: <id>@yourdomain.com) |
| Password | Shown at creation |
Code examples
Python (smtplib)
Node.js (Nodemailer)
Django (settings.py)
Laravel (.env)
Revoking credentials
- Go to Settings → SMTP Credentials.
- Click Delete next to the credential.
- Confirm.
Revocation takes effect immediately. Any SMTP connection using the deleted credential will be rejected.
Use separate SMTP credentials for each application or environment. This makes it easy to revoke access for a single system without affecting others.