Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home
General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2
Drivers
Driver Scan
Driver Forum
Software
Automatic Updates
BIOS Updates
My Computing.Net
Solution Center
Free IT eBook
Howtos
Site Search
Message Find
RSS Feeds
Install Guides
Data Recovery
About
Home
mailx / sendmail command
Original Message
Name: yy1
Date: July 16, 2006 at 23:48:22 Pacific
Subject: mailx / sendmail commandOS: HP-UXCPU/Ram: -Model/Manufacturer: -
Comment: Can anyone provide the command how to send a text file as a attachment with a proper subject using mailx or sendmail command in UNIX.Note: I am using HP-UX OS. The file send should be the attachment, not in the message body. In addition, I need to put in the mail subject as well.
Report Offensive Message For Removal
Response Number 1
Name: ghostdog
Date: July 17, 2006 at 05:25:16 Pacific
Subject: mailx / sendmail command
Reply: (edit )if your system has uuencode, you can use that to send attachment.uuencode yourfile yourfile | mailx .....
check the man page of mailx for subject options..
Report Offensive Follow Up For Removal
Response Number 2
Name: Venu
Date: July 18, 2006 at 21:42:32 Pacific
Subject: mailx / sendmail command
Reply: (edit )Hi,uuencode attachment attachment | mailx -m -s "Subject of the Mail" you@you.com
Hope this helps
Regards
Report Offensive Follow Up For Removal
Use following form to reply to current message: