How to Fix the Issue of Failing to Send Email?
If you encounter issues where your camera fails to send email notifications, please follow these troubleshooting steps to identify and resolve the cause.
Step 1: Check Mail Server and Account Configuration
This is the most common source of failure. Please verify the following key parameters in the camera's settings interface:
SMTP Server Address & Port: Ensure the server address is correct (e.g., smtp.gmail.com). The port number must match the selected encryption method. Common SMTP port configurations are:
- 25: Non-encrypted
- 465: SSL Encryption
- 587: TLS Encryption
Note: Using the wrong port for your encryption type is a primary cause of connection failure.
Encryption Method: This must strictly match your email provider's requirements. If you select SSL, set the port to 465; if you select TLS/STARTTLS, the port is usually 587.
Account & Password:
- Sender and Recipient Accounts: Fill in the full email addresses. Double-check the spelling of the recipient's address; even a single character error will cause delivery to fail.
- Sender Password: Important: Modern email services (such as Gmail, Outlook, etc.) usually require an App-Specific Password or Authorization Code rather than your standard login password. Please log in to your email provider's web settings to generate and use an authorization code.
Step 2: Troubleshoot Network Connectivity
If the configuration is correct, the issue may stem from network connectivity problems. Use these methods to test the status:
- Test Network Connectivity: On a computer connected to the same network as the camera, use the telnet command to test the connection to the SMTP server.
Example: Open the Command Prompt and type telnet smtp.gmail.com 587. If the connection fails, there is a network-level blockage.
- Check Firewalls & Security Groups: Ensure the firewall on the camera's network (including cloud server security groups) is not blocking outbound connections to the SMTP server ports. Contact your network administrator if necessary.
- IP Address Lockout: Multiple failed attempts in a short period may cause your IP address to be temporarily blacklisted by the email provider. Try restarting your router to obtain a new public IP or wait for the lockout to expire.
Step 3: Verify Linkage Settings
If the email configuration and network are both normal, but you still aren't receiving emails, please log in to the CYVIO VMS system and check the following:
- Navigate to: Device -> Remote Parameter.
- Verify that the Alarm Switch and Email Linkage Switch are both enabled.
- Ensure the Email Schedule is correctly configured (as shown in the image below).
