09-19-2010
mail: subject and body text
HI,
After giving the mail -e name@domain.com its asking the subject : after this its enter in to the body of the mail i.e. (in edit mode)
How to end this edit process to send mail ?
Last edited by Neo; 09-19-2010 at 03:52 AM..
Reason: edited cut-and-paste "mess"
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
First of all: Hi all, i´m a new unix user and i´m swedish so please bare with me.
When i generate an e-mail on a unix server and send it through novell netware 5, i loose the swedish characters å, ä and ö in the body of the message, however they remain in the subject row.
What to do? Anyone?... (4 Replies)
Discussion started by: de98luto
4 Replies
2. UNIX for Advanced & Expert Users
Hi,
Can some one help me with the syntax of the mailx that should send an attachment and also some text in the message body together.
When I am using the following syntax it is not sending the attachment but only the message body.
unix2dos -ascii $REPORTFILE | uuencode $PCFILE | mailx -s... (7 Replies)
Discussion started by: guptan
7 Replies
3. UNIX for Dummies Questions & Answers
Hi,
How to send send body along with attachment in a mail
given below is code to send mail with attachemnt.its working fine
but i need to send some message as body of the mail.
uuencode /prod/applc/ds_data/mac/working/nullctry.csv "nullctry.csv" | mailx -s "List Of Attendance"... (6 Replies)
Discussion started by: rajendragora
6 Replies
4. Shell Programming and Scripting
I've got the following code
sub mail_report {
$Mailer = '/usr/sbin/sendmail joe@somewhere.net';
open MAIL,"|$Mailer";
print MAIL "Subject: $X connection attempt \n";
open MESSAGE, "<$outdir$X";
print MESSAGE '$outdir$X\n';
close MESSAGE;
close MAIL;
} #End... (2 Replies)
Discussion started by: thumper
2 Replies
5. AIX
Hi,
How can I send mail attachments from shell script (AIX) and have a mail body as well ?
Thanks in advance. (1 Reply)
Discussion started by: shibajighosh
1 Replies
6. Shell Programming and Scripting
Hi,
i have a file ABC, i want to mail the contents of this file and i want to make the body of the mail per my choice like this:
Hi All,
This is the Report for today.
<Browse of the File ABC>
i am using :
mailx -s "Today's Report" abcd@xyz.com << EOT
Hi All,
This is... (1 Reply)
Discussion started by: Prat007
1 Replies
7. Shell Programming and Scripting
Hi,
We have been trying to send mail with attachment and it is going fine, but when we try to attach a text to the body of the email, we find that the mail is going fine with the body text but the attachment is not going through. We are using ksh.
The command that is successfull without the... (6 Replies)
Discussion started by: jmathew99
6 Replies
8. Shell Programming and Scripting
How can I send mail with attachment in HP-UX
I am able to send mail with specific body,but not successful while attaching a file.
I am using the below command however it stuck :
uuencode test.txt |mailx -s "Subject" <e-mail id> (5 Replies)
Discussion started by: gautamadak
5 Replies
9. Shell Programming and Scripting
Hello All,
I wish to mail after completion of code. I would like to include subject and body in it. I am not looking to read the body from other file but willing to provide the body in the command itself. Can i do this way?
I am looking to pass some parameters to body and this will be possible... (1 Reply)
Discussion started by: forums123456
1 Replies
10. Shell Programming and Scripting
Hi all,
My sample file is something like this,
ORA-00206: Message 206 not found; product=RDBMS; facility=ORA
ORA-00202: Message 202 not found; product=RDBMS; facility=ORA
ORA-27063: Message 27063 not found; product=RDBMS; facility=ORA
ORA-00206: Message 206 not found; ... (1 Reply)
Discussion started by: sri1977
1 Replies
LEARN ABOUT ULTRIX
mhmail
mhmail(1mh) mhmail(1mh)
Name
mhmail - send or read mail
Syntax
mhmail [ addrs ... ] [ options ]
Description
The program is intended as a replacement for the standard mail programs, and See and for more details of these mail programs. When invoked
without arguments, it simply invokes 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. then invokes with the name of the temporary file as its argument to
deliver the message to the specified user.
Normally, people will use and to send messages.
Options
-body text
Specifies the text of the message. If it is specified, then the standard input is not read.
-cc addrs Specifies addresses to be placed in the cc: field of the message.
-from addr
Specifies the content of the From: header of the draft. The address given is placed in the From: field of the message. The
Sender: field is filled in correctly by
-help Prints a list of the valid options for this command.
-mts smtp Specifies the mail system over which mail is sent. The only value allowed is smtp, which is the standard ULTRIX mail system.
Additional values are supported only for use with other mail systems.
-subject text
Provides the text of the Subject: field of the message.
Restrictions
Messages with a null body part will not be sent by You must include some body text in all messages to be sent by
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(1mh), post(8mh)
mhmail(1mh)