10 Comments

  1. worked fine …
    with
    mailx -v -s “$EMAIL_SUBJECT” \
    -S smtp=smtp://smtp.ust.hk \
    -S from=”$FROM_EMAIL_ADDRESS($FRIENDLY_NAME)” \
    -a /path/to/attachment/files \
    $TO_EMAIL_ADDRESS

  2. Pingback: Linux Sunucuya SSH Bağlantı Sonrası Uyarı Postası Gönderme | Fatih ASLAN | ITPro Blog
  3. Thank you very much!! Could you please help me with a question:
    “consider putting the configuration into mailx‘s configuration file ~/.mailrc”
    sounds like this file exists already? Is that right? I couldn’t find the file at my Ubuntu.

  4. Hi! Thanks for this information. Do you know if I can send through multiple SMTP servers by simply adding more “-S smtp=” lines? I want to have some failover.

    Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *