- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to attach files on sendmail -v
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
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
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
02-21-2001 01:23 AM
02-21-2001 01:23 AM
does anybody know how to attach files using sendmail -v command?
regards
Roberto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 01:37 AM
02-21-2001 01:37 AM
Solutionon this server as an attachment via sendmail:
uuencode /etc/hosts hosts.sh | sendmail root@abc.atl.hp.com
Additional information:
1. If the encoded file is a .txt file it will not be displayed as an attachment
when using Netscape mail. It will appear as part of the original document.
2. The received file will not be formatted correctly when read with Notepad;
but is correctly formatted when read with Word.
3. The file can be read with Notepad if you use the ux2dos command
first.
Example:
ux2dos /etc/hosts > /tmp/hosts
uuencode /tmp/hosts hosts.txt | sendmail -v
root@abc.atl.hp.com
rm /tmp/hosts # deletes the extra file that was generated.
If this method is used, there will be no TO or SUBJECT lines in the header
when read from Netscape mail.
Another method that will cause the SUBJECT and the TO and FROM addresses to
appear in the e-mail is:
(
echo "From: SENDER_NAME
echo "To: RECIPIENT_NAME "
echo "Subject: THE_SUBJECT"
# Text can be inserted here using echo command(s)
uuencode /etc/hosts hosts.sh
) | sendmail user@abc.com
Sender will have to supply the SENDER_NAME, RECIPIENT_NAME, and THE_SUBJECT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 02:14 AM
02-21-2001 02:14 AM
Re: how to attach files on sendmail -v
You can use mpack, a very good tool :
http://hpux.cs.utah.edu/hppd/hpux/Users/mpack-1.5/
You can attach what you want !
Regards,
Patrice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 05:25 AM
02-21-2001 05:25 AM
Re: how to attach files on sendmail -v
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x41950559ff7cd4118fef0090279cd0f9!0,00.html
'cause we all need more options
Regards,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 08:18 AM
02-21-2001 08:18 AM
Re: how to attach files on sendmail -v
best regards
Roberto