日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

SMTP 之 Perl 調用示例

使用 Perl 通過 SMTP 協議發信

  1. # Swaks is an smtp of CURL, install it first:
  2. curl http://www.jetmore.org/john/code/swaks/files/swaks-20130209.0/swaks -o swaks
  3. # Set the permissions for the script so you can run it
  4. chmod +x swaks
  5. # It's based on perl, so install perl
  6. sudo apt-get -y install perl
  7. # now send!
  8. ./swaks --auth \
  9. --server smtpdm.aliyun.com \
  10. --au domaintest@dm.aliyun.com \
  11. --ap ***** \
  12. --from domaintest@dm.aliyun.com \
  13. --to test@test.com \
  14. --reply-to 自定義回信地址 \
  15. --h-Subject: "Hello" \
  16. --body 'Testing mail!'

注:請在 —au 后替換發信地址;—ap 后替換 SMTP 密碼;—from后替換發信地址;—to 后替換收信地址。