The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
display HTML text in body using unix mailX ???? sparan_peddu UNIX for Advanced & Expert Users 8 07-30-2008 02:23 AM
mailx: concatenating strings for message body (KSH) rockysfr Shell Programming and Scripting 1 07-29-2007 09:12 AM
Command line/Script to send E-mail with HTML body and binary attachment G-Man AIX 3 04-18-2007 10:30 PM
AIX send mail with HTML message body and a binary attachment G-Man UNIX for Dummies Questions & Answers 4 03-22-2007 02:15 PM
MAILX Body containing SQL results dstinsman UNIX for Dummies Questions & Answers 2 10-06-2006 12:12 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-01-2008
CKIRCH CKIRCH is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 3
Mailx : can we have the body to be a binary file ?

Hi
I am totally dummy as far as UNIX is concerned, so please apologize.
I was just given the syntax to send multiple attachments with a body.txt message, it works great and we use it a lot.

Now, my question is : can we have the body to be a Binary file (like a Word Document for example)?

My customers gave me a Word document (with some formattings like colors, bullets, bold, underline, etc), and they would like to see that in the Body Message of the email.

Here is the syntax that we currently use to send body.txt with a CSV attachment. We would like the same syntax but for a body in DOC format (or equivalent... maybe XML ??)

$Unix_Command = cd /(mypath)/; (cat body.txt; uuencode attachment.csv attachment.csv) | mailx -m -s "My Subject" christophe.kirch@orange-ftgroup.com

Please note :
We are on HP-UX, but planning to move to LINUX in 2008.
We are on Lotus Notes but planning to move to Outlook in 2008.
We are launching the UNIX command from Peoplesoft SQR Reports, hence we would ideally need the command to be in one single row. [else i am still open to have it in a shell format, since we can also launch that from SQR]

Thanks in advance
Rgds
Chris

Last edited by CKIRCH; 01-01-2008 at 04:11 PM.. Reason: Just changing the options, so that i get notified with the answers
 

Bookmarks

Tags
linux, mailx, mailx attachment

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0