06-30-2006
Hi Madhan,
your code is fine if it is a single line message.
but my case message is like a comeplete letter with many lines and spaces
in between.
For example my message looks like
Hi,
This is sample body of the message.
Pls find the attached document.
The job has run Successfully.
Regards
Rajendra Gora
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. UNIX for Dummies Questions & Answers
how send an rtf file as inline body of email (not as an attachment)
sendmail/mailx < test.rtf is not working (7 Replies)
Discussion started by: srik_ux
7 Replies
5. Shell Programming and Scripting
Hi all,
i am working with CSH, i want to know that
how to send a mail in UNIX shell script (CSH) with attachment as well as message body.
i know that how to send a mail with attachment and message body. but i want know both things in a single mail
Suggession would be appreciate.
... (1 Reply)
Discussion started by: psiva_arul
1 Replies
6. Shell Programming and Scripting
Hi,
I ftp the .jpg file from windows to unix machine, now i need to send the jpg file as body to (not as attachment) outlook, can anyone send the sample code for this? (1 Reply)
Discussion started by: vasu.g
1 Replies
7. Shell Programming and Scripting
Hi,
Our requirement is to send an attachment and content in a single mail. I am using the below command to send attachement.
---------------------
(uuencode $exp_file $exp_file) |mailx -s "$email_subject" $EmailRecipients
--------------------
I m not able to send any message in the... (4 Replies)
Discussion started by: ashwin3086
4 Replies
8. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
9. 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
10. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT DEBIAN
qmhandle
Qmhandle(1) General Commands Manual Qmhandle(1)
NAME
qmhandle - tool to manage the qmail message queue
SYNOPSIS
qmhandle [--help] [--version]
DESCRIPTION
qmHandle is a tool which can be used to manage the qmail message queue. It's written in Perl (so fully customizable) and has more features
than qmail-qread and qmail-qstat.
OPTIONS
-a try to send queued messages now (qmail must be running)
-l list message queues
-L list local message queue
-R list remote message queue
-s show some statistics
-mN display message number N
-dN delete message number N
-fsender
delete message from sender
-f're delete message from senders matching regular expression re
-Stext delete all messages that have/contain text as Subject
-h're' delete all messages with headers matching regular expression re (case insensitive)
-b're' delete all messages with body matching regular expression re (case insensitive)
-H're' delete all messages with headers matching regular expression re (case sensitive)
-B're' delete all messages with body matching regular expression re (case sensitive)
-t're' flag messages with recipients in regular expression 're' for earlier retry (note: this lengthens the time message can stay in queue)
-D delete all messages in the queue (local and remote)
-V print program version
-c display colored output
-N list message numbers only
AUTHORS
Marcela Tiznado <mlt@debian.org>
Qmhandle(1)