User Tools

Site Tools


linux:swaks

Swaks Test Mail Via Command Linux

Swaks adalah applikasi untuk mengirim email via command line linux. Kita bisa menginstallnya dengan cara

yum install -y swaks

Contoh Swaks SSL

SUBJECT="TEST MAIL"
       swaks --to "tujuan@email.com" --h-Subject "Subjek email" --body "Test Mail" \
        --from dari@email.com -ssl --server smtp.mailku.net -tlsc  -p 465\
        --auth LOGIN --auth-user "dari@email.com" --auth-password "passsword-email"

Contoh Swaks Port 25

SUBJECT="TEST MAIL"
       swaks --to "tujuan@email.com" --h-Subject "Subjek email" --body "Test Mail" \
        --from dari@email.com --server smtp.mailku.net -p 25\
        --auth LOGIN --auth-user "dari@email.com" --auth-password "passsword-email"

Contoh Swaks Port 587

SUBJECT="TEST MAIL"
       swaks --to "tujuan@email.com" --h-Subject "Subjek email" --body "Test Mail" \
        --from dari@email.com --server smtp.mailku.net -p 587\
        --auth LOGIN --auth-user "dari@email.com" --auth-password "passsword-email"

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/swaks.txt · Last modified: 2020/05/26 21:16 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki