- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can I send email with attachment?
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
тАО10-11-2000 06:44 AM
тАО10-11-2000 06:44 AM
Can I attach any file to the elm?
I mean I'd like to write some contents and attch excel file on the UNIX using elm.
Can I do that? How?
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 06:51 AM
тАО10-11-2000 06:51 AM
Re: Can I send email with attachment?
and many show up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 06:55 AM
тАО10-11-2000 06:55 AM
Re: Can I send email with attachment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 07:30 AM
тАО10-11-2000 07:30 AM
Solution#(1) Send in body of e-mail mailx -s 'Subject Lines goes here' user@company.com < filename.txt
#(2) To send as an attachment /usr/bin/uuencode filename.Z filename.Z | /usr/sbin/sendmail user@company.com
#(3) To send as an attachment with Subject, From and To
(
echo "From:
echo "To:
echo "Subject:
echo "This is the body of the e-mail.
If you are having any problem with this file please give us a call.
/usr/bin/uuencode /local/filename filename
) | /usr/sbin/sendmail user@company.com
I hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 08:20 AM
тАО10-11-2000 08:20 AM
Re: Can I send email with attachment?
Check this thread for a start:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x41950559ff7cd4118fef0090279cd0f9,00.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 08:48 AM
тАО10-11-2000 08:48 AM
Re: Can I send email with attachment?
The following command will send a blank message with the file "~/myfile" attached, with the subject "here is the file" to "mr_manny@icecream.com".
mutt -a ~/myfile -s "here is the file" mr_manny@icecream.com < /dev/null
command line -
send mail w/an Attachment and Bcc another account(blind copy)
mutt -a ~/myfile -b joe@icecream.com -s "test mutt" mr_manny@icecream.com < /dev/null
other command line options
Running mutt with no arguments will make Mutt attempt to read your spool mailbox. However, it is possible to read other mailboxes andmessages from the command line as well.
-a attach a file to a message
-c specify a carbon-copy (Cc) address
-e specify a config command to be run after initilization files are read
-F specify an alternate file to read initialization commands
-f specify a mailbox to load
-h print help on command line options
-H specify a draft file from which to read a header and body
-i specify a file to include in a message composition
-n do not read the system Muttrc
-m specify a default mailbox type
-p recall a postponed message
-R open mailbox in read-only mode
-s specify a subject (enclose in quotes if it contains spaces)
-v show version number and compile-time definitions
-x simulate the mailx(1) compose mode
-y show a menu containing the files
-z exit immediately if there are no messages in the mailbox
-Z open the first folder with new message,exit immediately if none
hope this helps,
manny