01-01-2008
Hi Porter,
I am glad to see i am not the only one working during this bank holiday !
Please forgive my ignorance, but i am not sure to fully understand your answer.
- What do you mean by "Content-type" and how can i change/set that up ?
- True that i do not necessarily need DOC extension. It can be RTF or HTML, or whatever gives same results at the end!
=> I have just tried with RTF (i saved my DOC as RTF), but then i received the email with some junk characters in it...
By the way (and sorry for this "stupid" question) : when i FTP the RTF or HTML file from my Desktop to our UNIX server : shall i use ASCII or Binary ?
I think I tried both (and some error), but please confirm me.
TIA!
Rgds
Chris
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a KSH script that runs a SQL script, then sends an email to me indicating that it's completed. I would like to modify it so that the body of the email will contain a count of the number of records Added, Changed, Deleted as a result of the SQL script.
Here's what I was trying, but it's... (2 Replies)
Discussion started by: dstinsman
2 Replies
2. Shell Programming and Scripting
Hi all,
Think this is a pretty simple problem, but I've been thinking about it for a few days. Let's say that I'm going to have to output the contents of a file as the body of a mailx message.
I'll probably do this: cat <filename> | mailx <extra commands>
However, how do I go about doing... (1 Reply)
Discussion started by: rockysfr
1 Replies
3. UNIX for Advanced & Expert Users
display HTML text in body using unix mailX ????Hello,
could any one tell me how to display text in html layout by sending a file using mailx command in unix.
i know to use mailx :
mailx -s "SUBJECT" user.name@domail.com < file_name.txt
instead of txt file i want to send html page and... (8 Replies)
Discussion started by: sparan_peddu
8 Replies
4. Solaris
hi,
Can anyone please tell me how to add some text in the mail body like I can add subject using the following syntax.
mailx -s "Hi - This is mail subject" xyz@abc.com
Many Thanks. (4 Replies)
Discussion started by: abovais
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I'm working on Solaris 9 (SPARC) and I like to send an html body message to our users when something happen.
The problem is that I can't find how to give mime type information with mailx.
To be recognized as html I need to put in email header this information:
Mime-Version: 1.0... (2 Replies)
Discussion started by: gbagagli
2 Replies
6. Shell Programming and Scripting
Hi,
Our requirement is to send an attachment and content in a single mail. I am using the below command to send attachement.
---------------------
(uuencode $exp_file $exp_file) |mailx -s "$email_subject" $EmailRecipients
--------------------
I m not able to send any message in the... (4 Replies)
Discussion started by: ashwin3086
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Is there a way to suppress this message?
Null message body; hope that's ok
My email string is:
mailx -s "This is my subject" myemail@domain.com < /dev/null
It's just an annoyance to me that I would like see go away. (3 Replies)
Discussion started by: bbbngowc
3 Replies
8. Shell Programming and Scripting
Hi,
I am using mailx command to send an email and i took the body of the email from a file,
mailx -r gtt.org -s "Status Report " ss@org.com < $ProcessStatisticsFile
but now i want to declare the body of the email in the command itself.
I have tried with the following command but... (4 Replies)
Discussion started by: chinnu01
4 Replies
9. Shell Programming and Scripting
Hi,
I'm a perl developer. I need to attach a file from my perl cgi script and send mail to our users whoever using our website. I have used mailx command to attach a file.. it is working fine for me. The problem I'm facing is I'm not getting body of the mail.
I have a function called... (0 Replies)
Discussion started by: bheeshmaraja
0 Replies
10. Shell Programming and Scripting
i have to attach the 'body in the email' along with attachment below code is throwing errors, how can i do it ?
here body file contains message, it should display in email, please help
i am using HP-UX
(cat body ;) (uuencode attch1 attch1 ;) | mailx -m -s "testing" "abc@gmail.com"
... (4 Replies)
Discussion started by: only4satish
4 Replies
LEARN ABOUT DEBIAN
troff2rtf
TROFF2RTF(1) General Commands Manual TROFF2RTF(1)
NAME
troff2rtf - convert troff documents to Rich Text Format
SYNTAX
troff2rtf [ -mxx ] [ -S charset ] [ file ... ]
DESCRIPTION
troff2rtf processes documents written to be formatted with troff (or nroff, or any of the other *roff variants) and converts them to Rich
Text Format. RTF is a reasonably portable interchange standard; files in RTF format can be read by a variety of applications, e.g., Micro-
soft Word, WordPerfect (Macintosh version 2.0 and up), WriteNow.
The main use for troff2rtf is to make it easier to transport troff documents for use with microcomputers. First, convert your document to
RTF:
% troff2rtf [options] file > file.rtf
The available options are described below. The one you'll most likely use is -mxx to specify a macro package like -me or -ms. If the doc-
ument contains tables, the conversion can be done like this instead:
% tblcvt file | troff2rtf [options] > file.rtf
Then move the RTF file to your target machine and read it into your document processor.
Optional flags may be given to modify the operation of troff2rtf, as follows:
-mxx Specify macro package, usually -man, -me, -mm, or -ms.
-S charset
Specify the RTF character set. charset can be one of the following: ansi mac pc pca. The default is the Macintosh character set.
For documents that you intend to use under Windows, -S ansi is a better choice.
SEE ALSO
tblcvt(1), troffcvt(1)
WHO-TO-BLAME
Paul DuBois, dubois@primate.wisc.edu.
BUGS
Table output generated when troff2rtf is used in concert with tblcvt has been known to crash Word outright; caution may be in order. In
addition, you may need to read the resulting RTF document into a word processor and tweak column widths manually.
Word97 adds support for vertically merging table cells (using the clvmgf and clvmrg control words). troff2rtf supports vertical spans
using these controls, but earlier versions of Word don't yet understand them. Consequently, what you'll see for n-cell vertical spans is n
individual cells, with all the text in the top cell and n-1 empty cells below it.
TROFF2RTF(1)