- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding message into the body of an email using ux2...
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
тАО09-16-2007 05:13 AM
тАО09-16-2007 05:13 AM
ux2dos ${log}/09_print_manifest_all | uuencode HW_REPORT_PRINT_MANIFEST.doc | mailx -m -s "HW servers Report - $hour " $emails
how can i do for using the same sintax but adding a message into the body of the message ...
i need to add the content of the file named servers_without_ignite_installed
please let me know .... thanks :0)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2007 09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2007 08:13 PM
тАО09-16-2007 08:13 PM
Re: Adding message into the body of an email using ux2dos command.
mail -t $emails <
$(ux2dos ${log}/09_print_manifest_all | uuencode HW_REPORT_PRINT_MANIFEST.doc)
END_OF_MAIL
See man mail to be sure about option.
Now I'm not having access and may be I bad remember.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2007 01:41 AM
тАО09-17-2007 01:41 AM
Re: Adding message into the body of an email using ux2dos command.
just get the text in the file you're sending..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 10:02 PM
тАО09-19-2007 10:02 PM
Re: Adding message into the body of an email using ux2dos command.
---------------------------
#!/bin/csh -f
setenv SUBJECT "Email subject on `/bin/date +%d-%m-%Y`"
setenv EMAIL_ADDRESS "name1.surname1@company.com,name2.surname2@company.com"
setenv BODY "This is the Email Body."
setenv ATTACHED_FILE "/tmp/export.csv"
setenv ATTACHED_FILE_AS "/tmp/export_2.csv"
/bin/echo "Best" > "$ATTACHED_FILE_AS"
/bin/echo "Regards," >> "$ATTACHED_FILE_AS"
/bin/echo "Ernesto." >> "$ATTACHED_FILE_AS"
/bin/uuencode "$ATTACHED_FILE" export.csv >> "$ATTACHED_FILE_AS"
/bin/mailx -s "$SUBJECT" "$EMAIL_ADDRESS" < "$ATTACHED_FILE_AS"
/bin/rm "$ATTACHED_FILE_AS"
---------------------------
Best regards.
Ernesto