Search code examples
bashmutt

using mutt to send mail with two messages


I would like to use mutt for sending an email with two messages inside, it the folloring code it runs for ones content saved in a file named forescast

mutt -s "forecast temperature" mail.account < forecast.csv

it works, but if I want to send as a content in the same mail, two messages, another file.csv or .dat, and etc..., it doesn't work, any idea using mutt? is it possible? for example, the following code does't send the second content

mutt -s "forecast temperature" mail.account < forecast.csv increments.csv

Solution

  • maybe this works?

    cat forecast.csv increments.csv | mutt -s "forecast temperature" mail.account