Skip to content

Redshoee/scheduler-sendmail-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Scheduler Send Mail

use php set schedule to send email.

預約寄信: (假設都是 0:00 要收到)

  • 準時寄出 (約 0:00:04 會收到)

    • 設定 0 0 * * * cd scheduler_sendmail/; ./scheduler_sendmail.php
  • 準時收到 (0:00:00 會收到)

    • 設定前一分鐘 59 23 * * * cd scheduler_sendmail/; ./scheduler_sendmail.php

註1: Gmail 若有設定兩階段認證, 需要另外產生兩階段認證用的密碼.

註2: Gmail 就算提前幾秒, 還是會算寄出去的那分鐘為準, 所以收件者是 Gmail 的話, 建議使用準時寄出即可.

About

use php set schedule to send email.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 72.2%
  • CSS 17.6%
  • JavaScript 6.7%
  • HTML 2.6%
  • Shell 0.9%