- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Multiple files thru' email
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
Forums
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
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
тАО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
- 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
- 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
- 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.