You also may try sendemail. Look at http://caspian.dotconf.net/menu/Software/SendEmail. I use it to send emails from scripts directly to gmail accounts I use for servers backup control. --- Fernando Maciel Souto Maior
On Wed, Mar 18, 2015 at 7:29 AM, Koko Wijatmoko <k...@wijatmoko.name> wrote: > On Wed, 18 Mar 2015 05:19:32 -0500 > Peng Yu <pengyu...@gmail.com> wrote: > > > I just need to send emails via gmail through command > > line. Configuring postfix for this seems to overkill. > > > > Using MUA like mutt and sup overkills, too. > > > > Does anybody know a simplest solution to send emails > > via gmail on command line (no receiving emails needed)? > > > msmtp as alternatif for sendmail command... not sure if > this what you are looking for - http://msmtp.sf.net >