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/27 08:16 by kbadmin