Sending an email as an attachment from the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This may be an off topic question but I don't know where I would post such a
question. 

I have a set of "quarantined" files all stored in gz files. And I want to
have an automated program release them under special circumstances. These
emails are essentially the full header and email before they are delivered
in plain text. I have used mutt in the following fashion.

Zcat qemail.gz > tmp.eml | mutt -a tmp.eml -s "test" recip@xxxxxxxxxx <
/dev/null 

But this results obviously in sending a .eml file which works great on
outlook express but other email clients are confused. 
If I were to figure out the encodeing for Outlook it would make it a .msg
file. But this would confuse OE. I have found that Dbmail has the result
that I am looking for. If I have a bounced messange from dbmail it will
attach the original in its message, however the file type seems to morph
depending on what program looks at the message. My guess it this deals with
the MIME type, but I don't know either how to set this in a file or how to
determine what type is needed to make it an email. 

Any thoughts, redirections, general suggestions are more than welcome.
Thanks

Steven Lamb

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux