01-01-2008
Quote:
Originally Posted by
CKIRCH
1- when i ftp DOC, RTF, HTM, HTML, XML from my desktop to our UNIX server (via WS FTP PRO), do i need to use ASCII or BINARY option ?
The two options are basically ascii or binary.
RTF, HTM, HTML, XML are all simple text formats hence ascii will do.
DOC can by *anything* but my guess is it's a MS Word document so use binary.
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 OPENSOLARIS
mail
mail(1B) SunOS/BSD Compatibility Package Commands mail(1B)
NAME
mail, Mail - interactive message processing system
SYNOPSIS
/usr/ucb/mail ...
/usr/ucb/Mail ...
DESCRIPTION
/usr/ucb/mail and /usr/ucb/Mail are provided as links to /usr/bin/mailx. See mailx(1) for more information on the usage of these commands.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
/usr/ucb/mail
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
/usr/ucb/Mail
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
mailx(1),attributes(5)
SunOS 5.11 19 Aug 1998 mail(1B)