10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
In my Linux am unable to send attachment to mail . Since pkgs for mutt and uuencode is not possible to install any other options for sending attachment will be useful.
Tried the below options but its not working.
mail -s "testmail" -a <filename> abc@mail.com
cat <filename>|mail -s... (4 Replies)
Discussion started by: rogerben
4 Replies
2. Shell Programming and Scripting
H All
I want to send attachment in mail but I dont have uuencode installed in AIX server,
there is any alternative way to send attachment in mail. (2 Replies)
Discussion started by: ns64110
2 Replies
3. Shell Programming and Scripting
Hi All,
I am writing one script to automate one long process. In this process we need to upload some input files and download some output files. So , I want to automate this upload and download by using mail functionality.
I want to trigger this script when I am sending mail to server. I know... (0 Replies)
Discussion started by: NirajThakar
0 Replies
4. Shell Programming and Scripting
Hi All,
Is there anyway we can send files as an attachment? I tried running uuencode but its giving an error as below:
$ uuencode Z1.txt Z1.txt |mailx -s "hi" abc@abc.com
ksh: uuencode: not found.
Null message body; hope that's ok
When i gave which command then it says there is no... (18 Replies)
Discussion started by: HemaV
18 Replies
5. Shell Programming and Scripting
Hi,
I am seeing some junk characters when I attach the second file, given below is the logic I used. Please help me resolving the issue.
( uuencode file1.txt file1.txt.lst && uuencode file2.txt file2.txt.lst ) > attachment.txt
cat body.txt attachment.txt > combinemail.txt
mailx -m... (7 Replies)
Discussion started by: prasperl
7 Replies
6. Red Hat
I am using centOS 5.3 as server, and i hav installed sendmail-8.13.8-2.el5.i386.
But still, m not able to send mails to outer domain. Do i need to configure DNS for this?
PLease suggest a step by step guide, if u hav, for the concern, as i m new to linux and sendmail as well..
thanks (1 Reply)
Discussion started by: oracle.test2
1 Replies
7. Shell Programming and Scripting
The following is an extract from one of my Shell Scripts which uses uuencode and mailx to send an email with multiple attachements:
uuencode $LOG_REPORT $(basename $LOG_REPORT)
uuencode $HTML_FILE $(basename $HTML_FILE )
) | if
then mailx -b "$COPY_TO" -s "$SUBJECT" -r "$MAIL_FROM"... (2 Replies)
Discussion started by: suthera
2 Replies
8. UNIX for Advanced & Expert Users
Hello - In unix, can you tell me IF there is a way to send attachments via email without using uuencode command?
Thank you (3 Replies)
Discussion started by: panchpan
3 Replies
9. AIX
Hi,
I am not able to send mails to the recipents.
I am using AIX 5.3 Version and using the below command.
cat test.log|mail -s "TestMail" user1@mail.com
Can you please tell me is there any configurations to be done or is the above command wrong?
Thanks & Regards
Sheshadri (3 Replies)
Discussion started by: arsheshadri
3 Replies
10. Debian
hi
howto configure mailx ?
kind regards
ccc (11 Replies)
Discussion started by: ccc
11 Replies
INCM(1) General Commands Manual INCM(1)
NAME
incm - Incorporating new mails for Mew
SYNOPSIS
incm [options]
DESCRIPTION
The incm utility incoporates new mails from the mbox or the maildir to Mew's inbox folder.
The options are as follows:
-a Retrieve all mails from maildir/{cur,new} for maildir.
-b Backup mails. mbox: No truncate mbox file. maildir: To maildir/cur directory.
-c Use the Content-Length: field, instead of the "From " line, as a mail separator for mbox.
-d path Path to mbox/maildir. If path is a file, mbox is assumed. If path is a directory, maildir is assumed.
-m path The same as the -d option.
-s Read one mail from stdin instead of mbox/maildir.
-i inboxdir
A path to the inbox directory.
-h Display this help message.
-v Display the version.
mbox
For mbox, the mail separator is "From " in the beginning of lines. The incm utility does not convert ">From " to "From " in the beginning
of lines in the body. On Solaris, Content-Length: should be used with the -c option to tell the end of mail.
To lock mbox, both a lock file("user.lock") and flock() (or lockf(), or open(LOCK_EX) are used.
maildir
For maildir, no lock and no separator are necessary.
Consider the following situation:
cur/{1,2}
new/{3,4}
Executing incm without the options results in:
cur/{1,2}
new/{}
to inbox: {3,4}
Executing incm with the -a option results in:
cur/{}
new/{}
to inbox: {1,2,3,4}
Executing incm with the -b option results in:
cur/{1,2,3,4}
new/{}
to inbox: {3,4}
Executing incm with the -a option and the -b otpion results in:
cur/{1,2,3,4}
new/{}
to inbox: {1,2,3,4}
So, if both options are specified, messages are retrieved multiple times.
December 25, 2001 INCM(1)