A simple PHP-based mailing system that delivers the latest public GitHub events to subscribed users every 5 minutes. Users verify their email before subscribing, and emails are sent using either Sendmail or Gmail SMTP. CRON jobs are used for automatic scheduling.
Made for an assignment for RTCamp.
- β Email subscription and verification system
- π© Sends GitHub timeline updates every 5 minutes
- π Unsubscribe support via unique email links
- π¨ Supports both
sendmailand Gmail SMTP for sending emails - β° CRON job integration for scheduled dispatch
- ποΈ File-based storage using
requirement.txt
βββ index.php # Subscription form & verification logic
βββ functions.php # Core helper functions (email, timeline fetch, code gen)
βββ unsubscribe.php # Unsubscribe endpoint
βββ cron.php # Script triggered by CRON to send GitHub timeline emails
βββ setup_cron.php # Script to help set up CRON job scheduling
βββ requirement.txt # Stores verified email addresses (acts as file-based DB)