iresults/cift

Swift Mailer CLI

0.0.4 2016-07-13 10:20 UTC

This package is auto-updated.

Last update: 2024-12-10 23:32:57 UTC


README

Send emails. Nothing else.

Installation

To install globally run:

composer.phar global require iresults/cift

and make sure that the composer bin path is in your $PATH

bash export PATH=$PATH:~/.composer/vendor/bin

Usage

Send a short mail

bin/cift recipient@domain.tld sender@domain.tld subject "A nice message from me"

Send a longer mail

bin/cift recipient@domain.tld sender@domain.tld subject < newsletter.html

If the body contains an < the message will be sent with content type text/html.

Send to multiple recipients

bin/cift recipient@domain.com,recipient2@domain.com sender@domain.tld subject "Hello"