- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: send mime attachments from command-line?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2003 08:31 AM
тАО03-21-2003 08:31 AM
HPUX includes elm and a (barebones) version of metamail, but not the mailto utility from metamail.
Elm doesn't seem to support attaching files to a message via the command-line unless you run it interactively.
Installed pine, works fine interactively, but doesn't seem to allow sending a message non-interactively.
Installed mutt, seems to work, but the attachments are corrupt.
Am I missing something? This shouldn't be this difficult. What do you use? Manually compiled metamail with mailto?
Suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2003 08:36 AM
тАО03-21-2003 08:36 AM
SolutionI think this thread may help:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd6a2afe90f1cd71190050090279cd0f9,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2003 08:39 AM
тАО03-21-2003 08:39 AM
Re: send mime attachments from command-line?
This will attach your file and mail it. We use both mutt and mailx as our MUA, and both work pretty well.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2003 09:33 AM
тАО03-21-2003 09:33 AM
Re: send mime attachments from command-line?
uuencode filetobattached filename | sendmail emailid.
Suppose you want attach a pdf file from /home/dir to abc@xyz.com
uuencode /home/dir/filename.pdf filename.pdf | sendmail abc@xyz.com
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2003 09:35 AM
тАО03-21-2003 09:35 AM
Re: send mime attachments from command-line?
Here's a thread that my give you enough options to try:
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x41950559ff7cd4118fef0090279cd0f9,00.html
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2003 10:54 AM
тАО03-21-2003 10:54 AM
Re: send mime attachments from command-line?
Ten points to Pete for being the first to link to something that mentioned [include] for elm. Rita, yours would have gotten me there too, but Pete beat ya to it. But your link included mpack, another option - thanks!
For those suggesting uuencode, thanks, but I should have been more specific. Uuencoding is not quite enough for this app because only a small subset of clients will still seamlessly decode it.