Testing email2fax

Hi all,

I am trying to test email2fax. However, the doc tells me to test it using the following command.

The problem is I do not know how to set up message.eml in eml format, especially if I need to attach a pdf document.

cat message.eml | sudo -u asterisk email2fax --debug

Can anyone please help?