User Tools

Site Tools


bash:send_email

This is an old revision of the document!


BASH - Send email

#!/bin/bash
recipient=”test@example.com”
subject=”Hello”
message=”This is a test,”
`mail -s $subject $recipient <<< $message`
bash/send_email.1576610248.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki