Commit Graph

2 Commits

Author SHA1 Message Date
f7770955a9 feat: support different SMTP ports for email sending
- Add conditional logic to handle SMTP_PORT 465 for secure
  connections.
- Use standard SMTP for other ports to allow flexibility in
  email server configurations.

This change enhances the email sending functionality by allowing
users to specify different SMTP ports, improving compatibility
with various email service providers. The previous implementation
only supported port 465, which limited its usability.
2025-01-03 17:14:17 +08:00
534a9ab0e4 feat: add email notification and logging features
- Introduce email notification configuration options in the README
- Create a new config.sh file for managing environment variables
- Implement mail.sh for sending email notifications
- Add logging functionality to main.sh for tracking synchronization processes

These changes enhance the functionality of the script by allowing users to receive email notifications about the synchronization status and maintain logs of the operations performed. The new configuration options provide flexibility in managing email settings and improve the overall usability of the tool.
2025-01-03 17:03:01 +08:00