When sending emails from the console to specify the title and the body of the email?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
2 views
The server is postfix, it is necessary from the console to send a message, do so:
sendmail -F "from console" user@domain.com
But actually he is waiting for input of the body of the letter that I do not like how he could pass the message body and the message header?! That I revered and desired keys are not met.
by | 2 views

3 Answers

0 like 0 dislike
mail-s <topic> <address>
\r
letter
\r
CTRL+D
by
0 like 0 dislike
how else would the attachment to push immediately =)
by
0 like 0 dislike
echo 'Text email' | mail-s 'Subject line' user@mail.com
by

Related questions

0 like 0 dislike
7 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
27,881 users