12-20-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm a programmer not a sys admin, so please excuse this if it seems a little out of place, but I think it applies to this forum. When I send my HTML newsletter from the server it comes in as plain text on some email programs and not others. Eudora is fine; Outlook Express, Hotmail, and... (2 Replies)
Discussion started by: dmennis
2 Replies
2. Shell Programming and Scripting
Hi all,
I am working on UNIX (Solaris28). I would like to send an email in which the body will be in html format and, in the same mail, a xls file has to be attached.
I have tried this: the file is correctly attached but the body comes as html source and not formatted. If I do not attach the... (4 Replies)
Discussion started by: stefan.yu
4 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format
2. command line switch to specify file name of a binary attachment
3. command line or input file to specify... (4 Replies)
Discussion started by: G-Man
4 Replies
4. AIX
I apoligize for the cross-post but I'm not getting much in the way of help in the dummies forum:
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format
2. command... (3 Replies)
Discussion started by: G-Man
3 Replies
5. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
6. Shell Programming and Scripting
The below code is not working. I am able to send only inline html or only attachment. When trying to do both, only inline html is sent without attachment. Please help!
#!/bin/ksh
(echo "Subject: Test Mail - HTML Format"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo... (1 Reply)
Discussion started by: thulasidharan2k
1 Replies
7. Shell Programming and Scripting
Need assistance. Trying to send a test.csv file using html tag <PRE> </PRE>. Used to work without any issue . But now gets me and stdin issue. Please give me any suggestions
#!/usr/bin/ksh
export MAILTO=" <userid>@a.com"
export SUBJECT="Test mail "
(
echo "Subject: $SUBJECT"
echo... (6 Replies)
Discussion started by: ajayram_arya
6 Replies
8. Shell Programming and Scripting
HI,
I have two scripts which is sending the mail in html format.
Script 1:
1.IFILE=/home/home01/Report.csv
if #Checks if file exists and readable
then
if awk -F, '{ T += $13 } END { exit(!T) }' ${IFILE}
then
awk -F, 'BEGIN{
c=split("3,4,8,9,13", col)
print "To:... (0 Replies)
Discussion started by: Vivekit82
0 Replies
9. Shell Programming and Scripting
Hi Shell Experts
I am trying to insert an image into HTML email through shell script send mail, I have the email text file which included body and the images included in it in html format.
Through my Shell script, I am calling the text file and send it through email so it it sends the email with... (21 Replies)
Discussion started by: anji009
21 Replies
10. Shell Programming and Scripting
I have jpg file in my server. I am facing difficulty while sending the image in body . appreciate your help to fix to below code.
echo "--FILEBOUNDARY"
echo "Content-Type: image/jpg"
echo "Content-Disposition: inline; filename=\"tick.jpg\""
echo... (3 Replies)
Discussion started by: Jewel
3 Replies
mhmail(1) General Commands Manual mhmail(1)
NAME
mhmail - send or read mail (only available within the message handling system, mh)
SYNOPSIS
mhmail [addrs...] [options]
OPTIONS
Specifies the text of the message. If it is specified, then the standard input is not read. Specifies addresses to be placed in the cc:
field of the message. Specifies the content of the From: header of the draft. The address given is placed in the From: field of the mes-
sage. The Sender: field is filled in correctly by post. Prints a list of the valid options for this command. Specifies the mail system
over which mail is sent. The only value allowed is smtp, which is the standard mail system. Additional values are supported only for use
with other mail systems. Provides the text of the Subject: field of the message.
DESCRIPTION
The mhmail program is intended as a replacement for the standard mail programs, bellmail and ucbmail. See binmail(1) and mail(1) for more
details of these mail programs. When invoked without arguments, it simply invokes inc to incorporate new messages from the user's maildrop.
When one or more users is specified, a message is read from the standard input and spooled to a temporary file. The mhmail program then
invokes post with the name of the temporary file as its argument to deliver the message to the specified user.
Normally, people will use comp and send to send messages.
RESTRICTIONS
Messages with a null body part will not be sent by mhmail. You must include some body text in all messages to be sent by mhmail.
For this version, the -mts option only supports the value smtp. Additional values are supported for use only with other mail systems.
FILES
Program to incorporate a maildrop into a folder. Program to deliver a message. Temporary copy of message.
SEE ALSO
inc(1), post(8)
mhmail(1)