09-28-2001
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Could someone help me with 'Extract or save attachment of email using mailx'
Thanks,
Vijay ;) (1 Reply)
Discussion started by: kandati
1 Replies
2. Shell Programming and Scripting
I spent some time working this out, with a little help from various forums, and thought the community would like to know :
Here is how you can send an email from a single Unix command line :
/usr/bin/echo "Email text\nNew line\nAnother new line" >x | uuencode sourcefile.txt sourcefile.txt |... (3 Replies)
Discussion started by: haryadoon
3 Replies
3. Shell Programming and Scripting
hi,
i am trying to send mail with attachment to web-based email client like gmail.com using mailx. the problem is it is displayed in content rather than as attachment.
the code i am using is as follows,
uuencode test1.txt test1.txt | mailx -s "test only" aaaa@gmail.com
does anyone... (1 Reply)
Discussion started by: randomcz1
1 Replies
4. Shell Programming and Scripting
Hi All,
I am trying to send a mail with an attachment and message. Following command I am using.
(cat <messagefile> ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" dave@email.com
In the received mail, message body is appearing fine. But attachment is not coming. Rather... (2 Replies)
Discussion started by: nihar.dutta
2 Replies
5. Shell Programming and Scripting
I don't want the attachment embedded in the mail. I would like a file attached.
When I do
mailx -s "Report, `date +'%D %r` " -r "Notifications" bob@bob.com < /usr/local/bin/myreport.log> /dev/null
It gets embedded in my email. I want a file attachment. How do I do that? (2 Replies)
Discussion started by: guessingo
2 Replies
6. Shell Programming and Scripting
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am trying to send email with attacment and body using "mailx"
(cat body.txt; uuencode attach.txt) | mailx -s "Attachment" abc@xyz.com
When i type this command, the shell is still waiting for me to enter something in standard input and press control D before it sends a mail and... (2 Replies)
Discussion started by: aliaszero
2 Replies
8. 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
9. UNIX for Dummies Questions & Answers
Hello, all,
I have been trying to use what Perderabo has given to send attachment via email., but I am not getting the attachments, what I see on the receiving email system are the attachments contents inside the body of the received email. No attachment icon shows in the received email.
I am on... (3 Replies)
Discussion started by: gio001
3 Replies
10. Red Hat
Hello experts!!
I am trying to send an email with message body and attachment.but i am getting any one like message body or attachment.
I tried below command:
(echo "subject:test";echo "MIME-Version: 1.0";echo "content-transfer-encoding:base 64";echo "content-type:txt;name=test.txt";cat... (2 Replies)
Discussion started by: Devipriya Ch
2 Replies
comsat(8) System Manager's Manual comsat(8)
NAME
comsat - The biff server
SYNOPSIS
comsat
DESCRIPTION
The comsat server receives reports of incoming mail and notifies users who request this service. comsat is invoked by the inetd(8) daemon
when it receives messages on a datagram port associated with the biff(1) service specification in /etc/services(4). The datagram contains
a 1-line message of the form: user@mailbox-offset If the user specified is logged in and the associated terminal has the owner execute bit
turned on (with biff y), offset is used as a seek offset into the file named in mailbox. The first 7 lines or 560 characters of the mes-
sage are printed on the user's system. The message excludes mail header lines other than the From or Subject lines.
The comsat command always tries to convert incoming mail messages from the mail interchange codeset to the user's application codeset. It
determines the mail interchange code first by checking the mail message itself to see if it contains the required information. Otherwise,
the system-wide default mail interchange code in the file /usr/lib/mail-codesets will be used. If no such system file exists, no codeset
conversion will be performed.
The determination of the user's application code in each terminal session is by one of the following methods. The application codeset
defined in the user's Asian tty driver. The codeset name stored in the ~/.codesetdevname file, where devname is the name of the terminal
device for the current terminal session. You can obtain the value of devname by issuing the tty command. For example, if the tty command
returns /dev/ttys8, use ttys8 as the value for devname. The lang valued option defined in $HOME/.mailrc or /usr/share/lib/Mail.rc.
FILES
Specifies the command path. Includes information about logged-in users and their associated ttys. File containing mailx subcommands to
customize mailx for a specific user. File containing mailx subcommands to change mailx for all users on the system.
RELATED INFORMATION
Commands: biff(1), inetd(8), mailx(1), mh(1)
Files: services(4), inetd.conf(4), tty(7) delim off
comsat(8)