No, it's only example - some textfile including some text = message body. Attachment is some binary file.
Previous only example how nice method HERE is to make ex. mail template.
Try it, easy to see result.
You need only sendmail binary - somewhere = give the path
and shell ex. bash, ksh, dash, ... Operating system - select some.
If you have old Bourne Shell, nothing else, then you must write command substitution using old format
$( cmd ) => ` cmd `
Hi,
I use the sendmail command to send automatic e-mail in my control programs,
but I'd like to know if there's a non interactive way to send an attachment,
like a small text file through sendmail command. I didn't find a way in the man, so anyone has already done it?.. give an example for the... (4 Replies)
Hi,
This is my first thread.
Iam trying the following:
OS: Sun
Database: DB2, Informix, Oracle
* Get the status of the database (using database command line options)
* pipe to a text file
* send mail of the text file to receiptents.
TODO1:
First step i tried to send a test message.... (3 Replies)
Hello,
i am sending email with following command.
The problem is the attachment is displayed as inline text instead of a file attached to email. What should i do?
I don't have chance to install new binaries to the server (SunOS)
( \
echo From: Sender ; \
echo Subject: Testing ; \... (1 Reply)
I have an HTML file I am currently sending in the body of an email. I now have a need to send a csv attachment along with it. I can ONLY use sendmail as mutt and xmail etc are not on the server.
Here is what I am currently using: It is possible to add code to add an attachment ??!?
{
... (8 Replies)
dear all
I have below function which send an email, but if I need to add an attachement it won't work instead it write some jibberish to body of the email
begin 644 SIGN_OFF_AP_20120626.csv
M4TE'3E]/1D9?4TA%150L351-7T1!5$4L0D]/2RQ35$%455,L5D%25%E012Q#
%3U5.5`H`
`
end
function... (6 Replies)
Hi,
I am trying to send log file of a job run in unix machince through sendmail.Though I am able to send the text but it is not sending as attachment.
Could you please look into the code and let me know where I have gone wrong
fdate=`date %Y%j`... (2 Replies)
Send_Mail()
{
C_Date=`date +"%m/%d/%Y"`
#Subject="MMDB Load Job Status"
for i in `cat $Metafile`
do
if
then
email_address=`echo $i | cut -d":" -f2`
/usr/lib/sendmail "$email_address" < $Email_File
fi
done
}
this is the send mail command i am using .please let me... (1 Reply)
Hello people,
I only have sendmail and uuencode on a Oracle (RH) linux server.
While:
/usr/bin/uuencode awr.html awr.html | /usr/sbin/sendmail myemail@company.com
Is working fine,
the ideal for me is to do something like:
echo "To: me@company.com" > /home/vasilis/msg.txt
echo "Subject: DB... (3 Replies)
Hi Folks
I have below code, which is able to successfully send the content of the output file as html which is body, but i did tried uuencode & mailx -a for sending attachments but to no avail.
cat - ${Output_File} <<EOF| /usr/sbin/sendmail -oi -t
#From: ${MAILFROM}
To: ${MAILTO}
Subject:... (5 Replies)
Discussion started by: nikhil jain
5 Replies
LEARN ABOUT OSF1
wwsetup
wwsetup(8) System Manager's Manual wwsetup(8)NAME
wwsetup, wnn - Sets up the 8-bit option for sendmail and the Wnn character-cell input method for Japanese
SYNOPSIS
/usr/sbin/wwsetup
DESCRIPTION
The wwsetup script performs one or both of the following tasks: Enables or disables 8-bit transmission code, which is an option supported
by sendmail software
By default, sendmail uses the 7-bit SMTP mail transmission protocol that is the standard for sending mail over a TCP/IP network.
Note that enabling the 8-bit option is not generally recommended because it violates the SMTP mail transmission protocol. Config-
ures the Wnn software that supports a character-cell input method that is widely used in Japan
If the Tru64 UNIX IOSJPWNNnnn subset is installed, the wwsetup script asks if you want to create the following links if they do not
already exist on the system:
/usr/local/bin/Wnn4 --> /usr/i18n/bin/Wnn4 /usr/local/bin/wnn --> /usr/i18n/lib/wnn
The script also prompts you to enter the password for Wnn dictionaries if they do not already exist on the system.
Both the links and the dictionary password must be in place before Wnn software can be used.
SEE ALSO
Commands: sendmail(8), jserver(1wnn)
Note that the jserver(1wnn) reference page is available only in Japanese and is included in the subset that contains Japanese translations
of reference pages.
Others: i18n_intro(5), Japanese(5), l10n_intro(5)wwsetup(8)