- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- Multiple files thru' email
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
07-15-1999 12:55 AM - last edited on 03-19-2013 10:06 PM by Cathy_xu
07-15-1999 12:55 AM - last edited on 03-19-2013 10:06 PM by Cathy_xu
Multiple files thru' email
Hello,
I'm using HP-UX B.10.20 E, and I was looking to send
attachments using 'mailx' or 'elm'. Is there anyone who can
help me with this. The send command of 'mailx' doesn't list the
attachment option. Do I need to update the O.S to the next release or can I
change some configuration settings ? Also could some help me as how to send
multiple files thru' email at one time (More than one file per email)?
Thanks
Steve
P.S.This thread has been moved from HP-UX > General to HP-UX > messaging -HP Forums Moderator
- Tags:
- attachments
- mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-28-1999 12:06 AM
07-28-1999 12:06 AM
Re: Multiple files thru' email
the mail patches.
cat file1 file2 | mailx -s test you@email.com
Hope this helps
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-08-1999 03:23 AM
10-08-1999 03:23 AM
Re: Multiple files thru' email
/usr/lib/sendmail with the following headers:
From: address
To: address
Subject: subject
MIME-Version: 1.0
Content-Type: multipart/mixed;boundary="autogen-boundary"
A gap (just a carriage return followed by a line feed) is needed before the
rest of the message starts.
Then you would see a header like:
--autogen-boundary
Content-Type: text/plain;charset=us-ascii;name="file1"
Content-Disposition: attachment;name="file1"
This is file1.
Then, this will be followed by a boundary:
--autogen-boundary
Then if you wanted binary content, you would need a set of headers that looked
like this:
Content-Type: application/octet-stream;name="binary"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;name="binary"
The contents would differ; you may see something like application/msword.
I could send you something else that will put a file into base64 format; the
format is described in the MIME RFCs.
The last boundary in the message is required after the last byte of the
attachment. In this example it would look like
--autogen-boundary--
I have been doing this the hard way by hand-editing the file; though I've
written shell scripts to send things along as a remailer. I could probably
obtain the flexibility using mailx if I change the global mailrc file to allow
hand-editing of the headers.
Another newsgroup that might be useful for this would be comp.mail.sendmail.
If you have any more questions that you'd like to take offline, you can mail me
at tendo@netcom.com.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-22-1999 04:33 AM
10-22-1999 04:33 AM
Re: Multiple files thru' email
uuencode filename filename |sendmail mailrecip@xxx.com
Where filename is the name of the attachment (Note: this needs to be specified
twice) and mailrecip is
the recipient of the email.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP