I'm looking for a sample of some code that will take the output from a file and generate an email that will include that text as an attachment. the script is in the borne shell. any help? (2 Replies)
Hello All,
This is a common question that I found lot of results in the forums.
I am trying to use uuencode to attach a file and send email. I have no issues sending email, but not able to attach any files using sendmail.
Is uuencode part of sendmail or does 'uuencode' utility need to be... (1 Reply)
Hi,
I have a shell script which send email with an attachment in the form of an email. However, the when I open the attachment, all the data comes in one column. How do I format the data in the excel sheet while sending the email?
Thanks (8 Replies)
I am using the following command to send PDF attachment with a mail.
uuencode <attachment.pdf> <attachment.pdf>|mailx -s <subject> <mail_id> < <Message_file.txt>
This one send the message with attachment. I would like send PDF attachment with the mail
Can any one help with this issue ?
... (0 Replies)
hi
plz help me in sending a mail with some data in body and an attachment as some txt file.
currently i am able to send mail with some body content, i need an example how to send the same along with attachment.
thanks in advance
-bali (2 Replies)
i know its pretty repeated query, but i need to post it in this new thread coz i need it urgently
uuencode /var/tmp/chandra/emaillist.txt emaillist.txt | mail -s "message with encoded attachment"
am unable to send the attachment emaillist.txt present in the path /var/tmp/chandra/
Is... (11 Replies)
Hi,
Could anyone help me to find soultion for the issue to send email attachment as read only.
I can change the file permission in Linux and can send the email attachment from Linux. But my requirment is user can read the attachment but should not modified it . even user save the attachment... (4 Replies)
hi..
Could somebody help me how to sent an attachment using sendmail command and the content is HTML format ?.
Below is my code to sent the email as HTML but i do not know how to sent the attachment, please help me
To: "BAHARIN HASAN"<baharin.hasan@gmail.com>
from: "DATAONE SDN... (4 Replies)
Hi All,
I want to send a file as an attachment through cron job.Is this possible using cronjob nd if it i, can you please let me know how to do this?
Thanks (2 Replies)
I am attempting to write a script where I can pass in parameters ( to , from, the location of a pdf attachment ) and send an email that has HTML for the body content and a PDF as an attachment.
I have failed to achieve this with sendmail and mutt. I recently found this.
If there are any... (2 Replies)
Discussion started by: jvsrvcs
2 Replies
LEARN ABOUT OSF1
comsat
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)