Last active 8 months ago

用 swaks 快速發送測試信件,支援 TLS、SMTP 認證與 Gmail 應用程式密碼,除錯郵件問題不再靠猜!✅

timmy revised this gist 8 months ago. Go to revision

1 file changed, 7 insertions

send_email_with_swaks.sh(file created)

@@ -0,0 +1,7 @@
1 + swaks --to 收件者@email.com \
2 + --from 寄件者@gmail.com \
3 + --server smtp.gmail.com:587 \
4 + --tls \
5 + --auth \
6 + --auth-user 寄件者@gmail.com \
7 + --auth-password 應用程式專用密碼
Newer Older