1833882 Members
2138 Online
110063 Solutions
New Discussion

Re: Problem with elm

 
Luigi Berengan
Advisor

Problem with elm

I have a script like this to send e-mail with attachment using elm.
-----------------------------------------------
#!/bin/sh

cat << eof > /tmp/myletter
[include File.txt octet/stream base64]
eof

elm -s "Test elm" mybox@work.it < /tmp/myletter
-----------------------------------------------

I would like customize the Sender/From of the e-mail. How does it does ?

Can someone help me ?
3 REPLIES 3
Sanjiv Sharma_1
Honored Contributor

Re: Problem with elm

Use "mailx" instead of "elm"
Everything is possible
Dave La Mar
Honored Contributor

Re: Problem with elm

See attached of many different email examples using mailx, including attachments and changing the sender information.

Best regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Steven E. Protter
Exalted Contributor

Re: Problem with elm

I have a sendmail script that does attachments too:

See attachment.

A. Clay has posted in the past that your goal can be accomplished with elm.

Take your choice, everything I've seen thus far in this thread will work.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com