Text applications

silver.bullet at zoho.com silver.bullet at zoho.com
Tue Nov 3 21:15:46 UTC 2015

On Tue, 3 Nov 2015 18:52:24 +0000, Chris Green wrote:
>On Tue, Nov 03, 2015 at 05:36:04PM +0100, silver.bullet at zoho.com wrote:
>> On Tue, 03 Nov 2015 10:21:11 -0600, Dr. Mikeal Hughes wrote:  
>> >I am looking for an application to run on my Ubuntu 14.04 server.
>> >What I need is an automated texting, email application that would
>> >allow someone to text welcome to a phone number and then have texts
>> >and emails sent at various times about activities. I would want
>> >those to go into some type of group where the canned messages would
>> >be stored. I could make another group that I would have a keyword
>> >loop. That would send different messages. Anyone know of any
>> >program like that?  
>> A script using a sendmail replacement such as the easy to handle
>> msmtp? 
>I think using a text mode E-Mail program like mutt might be easier.
>You can send mail using mutt entirely from the command line.

$ cat some_file.txt | msmtp -a default some.recipient at somewhere.com

$ cat .msmtprc 
# Set default values for all following accounts.
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log

# Alice
account spinymouse
host out.alice-dsl.net
from ralf.mardorf at alice-dsl.net
user ralf.mardorf at alice-dsl.net
#auth         plain
auth         login
tls          on
tls_starttls on

######## !!!!!!!!!!!!
password ;)
######## !!!!!!!!!!!!

# Set a default account
account default : spinymouse

More information about the ubuntu-users mailing list