-
Notifications
You must be signed in to change notification settings - Fork 1k
Setting up AVideo Platform to send emails
This guide explains how to configure AVideo to send emails.
AVideo sends email using SMTP. It does not receive email using IMAP or POP3.
You can configure email here:
Menu -> Site Configurations -> Advanced Configurations
Use one of these options:
-
Your own email server Use this if you already have email hosting from cPanel, a VPS, your domain host, or another provider.
-
Gmail or Google Workspace SMTP Use this if you want Google to send the emails for you.
-
An external SMTP provider Use this if you do not have your own mail server and do not want to use Gmail.
If you use Gmail or another SMTP provider, your sender address can still be something like support@yourdomain.com, depending on your provider setup.
If you already have an email account on your domain, this is usually the simplest option.
Use the SMTP details provided by your email service.
| Setting | Example |
|---|---|
| SMTP Host | mail.yourdomain.com |
| SMTP Port |
465 for SSL or 587 for TLS |
| SMTP Username | user@yourdomain.com |
| SMTP Password | Your email account password |
| SMTP Authentication | Enabled |
| Encryption | SSL or TLS |
- The username is usually the full email address.
- Port
465is commonly used with SSL. - Port
587is commonly used with TLS. - Your server must allow outbound connections on the SMTP port you choose.
- IMAP and POP3 settings are not needed for AVideo.
- Wrong SMTP host
- Wrong port
- SSL/TLS does not match the selected port
- SMTP authentication is disabled
- Invalid username or password
- Firewall or hosting provider blocks outbound SMTP
If you want to build your own mail server with Postfix, you can start with this tutorial:
Gmail can be used as your SMTP server, so you do not need to run your own outgoing mail server.
| Setting | Value |
|---|---|
| SMTP Host | smtp.gmail.com |
| SMTP Port | 587 |
| Encryption | TLS |
| Username | Your Gmail or Google Workspace email address |
| Password | Your Google password or app password |
Google may block direct username and password login for SMTP, especially on accounts with modern security settings enabled.
If your Google account uses 2-Step Verification, you usually need to create an app password and use that password in AVideo.
Google app password instructions:
https://support.google.com/accounts/answer/185833
- Sign in to your Google account.
- Enable 2-Step Verification if it is required for your account.
- Create an app password for mail.
- Use your Google email address as the SMTP username.
- Use the app password as the SMTP password in AVideo.
- Set host to
smtp.gmail.com, port to587, and encryption to TLS.
We also have a video tutorial:
https://tutorials.avideo.com/video/188/email-setup-tutorial
If you do not have your own mail server, an SMTP relay service is often the easiest option.
Common providers include:
- Mailgun: https://www.mailgun.com/
- Mailjet: https://www.mailjet.com/
Setup guides:
- Mailgun SMTP credentials: https://help.mailgun.com/hc/en-us/articles/203409084-How-Do-I-Create-Additional-SMTP-Credentials-
- Mailjet SMTP relay: https://www.mailjet.com/feature/smtp-relay/
These services provide the same values you need in AVideo:
- SMTP host
- SMTP port
- SMTP username
- SMTP password
- Encryption type
If you want to send email from your own domain while using Gmail, you can combine email forwarding with Gmail's "Send mail as" feature.
One option is this service:
https://forwardemail.net/en/faq?domain=mydomain.com#how-do-i-get-started-and-set-up-email-forwarding
After forwarding is working, configure Gmail here:
https://forwardemail.net/en/faq?domain=mydomain.com#how-to-send-mail-as-using-gmail
Before testing, confirm all of these items:
- SMTP host is correct
- SMTP port is correct
- Encryption matches the chosen port
- SMTP authentication is enabled
- Username is the full email address when required
- Password is correct
- Your server is allowed to make outbound SMTP connections
If AVideo still does not send email, the problem is usually one of these:
- Incorrect SMTP credentials
- Incorrect port or encryption
- Google account security restrictions
- Firewall or hosting restriction
The Open Source Video Platform Solution
| Service | Description | Link |
|---|---|---|
| 🎯 | Professional Support - Direct assistance from core developers | Contact |
| ☁️ | AVideo CDN - High-performance video delivery network | Pricing |
AVideo Platform © 2024 - Self-hosted video streaming platform
Made with ❤️ by WWBN and the open source community