10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
is there any way Unix shell script can directly read a mail on a mail server
(Lotus notes) and save it as a text file in a unix directory ?
For eg mail can be at abc@xyz.com and the same should be stored at
home/script on def.com
Thanks in advance,
CD (2 Replies)
Discussion started by: cdprasad.ait
2 Replies
2. AIX
Hi,
I am new to UNIX and any help is greatly appreciated.
Requirement:
Need to check the directory and if the directory has some files then an email needs to be sent to the email ID on Lotus Notes.
I need help on sending an email to email ID on Lotus Notes notifying that the files... (3 Replies)
Discussion started by: neetutg
3 Replies
3. UNIX for Advanced & Expert Users
Hi everybody!
I needto send a mail with several attachments to a foreign recepient using the following command line:
neo$ (cat mailbody; uuencode file1 file1.txt; uuencode file2 file2.txt) | mailx -m -s "Mail with two attachments" john.hancock@mailserver.com
The result is just fine on... (3 Replies)
Discussion started by: marvin70
3 Replies
4. Solaris
Hello,
I have tired the commands like below to send a email with an attachment to IBM lotus notes
uuencode filename filename | Mail -s "subject" addr
uuencode filename filename | mailx -s "subject" addr
uuencode filename filename | sendmail addr
All of three command work. But I can... (0 Replies)
Discussion started by: babykings
0 Replies
5. Shell Programming and Scripting
Hi All,
We have requirement to send lotus notes email attachment to mutiple users.
Each user has a separate file name ,but the file name and mail id will be same
please help urgent
Thanks (2 Replies)
Discussion started by: gwrmk
2 Replies
6. Shell Programming and Scripting
Hi,
is there any way Unix shell script can directly read a mail on a mail server
(Lotus notes) and save it as a text file in a unix directory ?
For eg mail can be at abc@xyz.com and the same should be stored at
home/script on def.com (0 Replies)
Discussion started by: misenkiser
0 Replies
7. UNIX for Dummies Questions & Answers
I am using mailx command to send automated emails from the Unix to Lotus notes. Recently we got a requirement to send all emails as encrypted emails. I am not sure how I can encrypt an email using unix. Please help!!
Thanks (3 Replies)
Discussion started by: Anamika
3 Replies
8. UNIX for Advanced & Expert Users
Does anyone know if you can run Notes on a SunBlade? This is the last program I need to completely get away from all MS boxes, if I can run my Notes on my Blade I won't need this ratty MS box!
Thanks!
JP (4 Replies)
Discussion started by: jpeery
4 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I have searched the FAQ and find that there is some threads related to this subject.
But can you please give an examples on how to send attachment to Lotus Notes email through UNIX?
Since i have gone through the RFC and the URL. But i still have no idea on it.
Please give some... (7 Replies)
Discussion started by: wilsonchan1000
7 Replies
10. UNIX for Dummies Questions & Answers
We have been trying to get an email from unix to Lotus Notes to work. We finally got it to work with the following code:
cat filename | uuencode filename | mailx -s "subject title" email address
Now our problem is that Lotus Notes doesn't show the paper clip icon, indicating an attachment... (3 Replies)
Discussion started by: cowgilm
3 Replies
fmt(1) General Commands Manual fmt(1)
NAME
fmt - Formats mail messages prior to sending
SYNOPSIS
fmt [-width] file...
DESCRIPTION
The fmt command reads the input file or files, or standard input if no files are specified, and writes to standard output a version of the
input with lines of a length as close as possible to width columns. (Because fmt is internationalized software, the number of display col-
umns is not necessarily equivalent to the number of bytes.)
The fmt command both joins and splits lines to achieve the desired width, but words are never joined or split; spaces are always preserved,
and lines are split at spaces only. In effect, fmt ignores newline characters in the input and wraps words to make lines a close as possi-
ble to width columns, resulting in individual lines of varying length but a consistent (new) text width overall. Because blank lines are
always preserved, fmt does not merge paragraphs separated by blank lines.
If you specify more than one file, the files are concatenated as input to fmt. If you do not specify -width, the default line length is 72
columns. Spacing at the beginning of input lines is always preserved in the output.
The fmt command is generally used to format mail messages to improve their appearance before they are sent. It may also be useful, how-
ever, for other simple formatting tasks. For example, when you are using vi, you can use the command :%!fmt -60 to reformat your text so
that all lines are approximately 60 columns long.
NOTES
The fmt command is a fast, simple formatting program. Standard text editing programs are more appropriate than fmt for complex formatting
operations. Do not use the fmt command if the message contains embedded messages or preformatted information from other files. This com-
mand formats the heading information in embedded messages and may change the format of preformatted information.
EXAMPLES
file1 contains these lines:
Australia is an island-continent, home to many very interesting plants and animals.
To reformat this text to a narrower width, enter: fmt -30 file1
This results in the following, displayed on your screen: Australia is an island-continent, home to many very interesting plants and
animals.
To make file1 wider, enter: fmt -60 file1
This results in: Australia is an island-continent, home to many very interesting plants and animals. To format a message you have
created with the mailx editor, at the left margin enter: ~|fmt
After you enter the command, your message is formatted, in this case to the default line length of 72 columns, and the word continue
is displayed to indicate that you can enter more information or send your message.
SEE ALSO
Commands: mail(1), mailx(1), vi(1)
fmt(1)