Dears,
i have user called dellsh
i hope to make this script
when this user recieve email
check the budy of the email about (StatusRequest)
when i find this email contain this subject
run crontab do this job (create file in my home directory called index)
thanks for your attention (1 Reply)
hi all,
how do i email a file in the body of an email rather than as an attachment ??
have a ksh script which i need to read a file and email as part of the body rather than an attachment.
my code is :
uuencode file.log | mailx -s "test"
but this sends file as an attachment.
... (2 Replies)
Dear all-
I have a requirement to send an email via email with body content which looks something below-
Email body contents
--------------------
RequestType: Update
DateAcctOpened: 1/5/2010
Note that header information and data content should be normal text..
Please advice on... (5 Replies)
Hi,
I am using mailx command to send an email and i took the body of the email from a file,
mailx -r gtt.org -s "Status Report " ss@org.com < $ProcessStatisticsFile
but now i want to declare the body of the email in the command itself.
I have tried with the following command but... (4 Replies)
Hi
I want to able to attach a file to a email and send it with a body
the body of the email is within the "body" file, and the attachment in "atch"
if i send like below it will send the email correctly
/usr/sbin/sendmail me@you.com< body
And when i send the attachment alone... (3 Replies)
I have a oracle sh script test.sh
#!/bin/bash
R=`sqlplus -S *****/*********@dfsdf <<ENDOFSQL
set serveroutput on size unlimited;
execute DBMS_SNAPSHOT.REFRESH( '"MIS_ADMIN"."MV_SURVEY_UNITS_CENSUS"','F');
execute DBMS_SNAPSHOT.REFRESH( '"MIS_ADMIN"."MV_SURVEY_UNITS_CENSUS_PART"','F');... (1 Reply)
Hi,
I have written shell program to send email as below -
#!/bin/ksh
filename=`ls -ltrh *.Z`
echo $filename |mailx -s "FOR TESTING" rahul.b@infotech.net
I am getting the email but email body is -
-rw-rw-r-- 1 bahulra dba 173M Mar 22 04:37 corphist.txt.Z -rw-rw-r-- 1 bahulra dba 107M... (3 Replies)
I have fetched a couple of emails and stored then in /fetch/mail/oracle.txt, the displayed content is
Date:
From:
Subject:
To:
Content-Type:
---body -----
---------
Date:
From:
Subject:
To:
Content-Type:
----body -----
------
Date:
From:
I want to retrieve the body only from... (3 Replies)
Hello,
I need help with my script that will send email via sendmail command that will shows both the header and footer logo once the recepient receive the email (e.g. MS Outlook). When I tested to ran the script it will successfully send the email BUT UNFORTUNATELY it doesn't displayed the... (8 Replies)
Hi Team,
While sending the email using the mutt command, mail body not appearing properly and attachment it is showing without line breaks and i used the CSS Style (nowrapper )it is working fine.
in this case how to handle the email body, please help me. (1 Reply)
Discussion started by: bmk123
1 Replies
LEARN ABOUT DEBIAN
ample.html
AMPLE.HTML(5) User Manual AMPLE.HTML(5)NAME
ample.html - html template for Ample
DESCRIPTION
This file, by default /etc/ample/ample.html, is read by Ample at startup and used as a base for it's HTML pages. These pages are rendered
whenever a webbrowser connects and requests a list of available songs and directories (typically done by connecting to
http://server:port/index.html).
The file is divided into three sections, the header, the middle and the footer. The header and the footer are the same on each page gener-
ated while the "middle" is copied into the final HTML document once for each file or directory that is going to be listed. Although this
may sound confusing, it will probably become much more evident once you look at the example below.
Variables are written in uppercase and enclosed within "at" signs (example: @NAME@) and are replaced dynamically when the page is con-
structed. Some variables can exist anywhere in the document and some can only exist in the "middle" section, see the information about
each variable for details.
EXAMPLE
<!-- Beginning of header -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>@SERVERNAME@</title>
</head><body>
<center>
<p><h1>@SERVERNAME@</h1></p>
<p><h2>Tracks currently available in @PATH@</h2></p>
<p><font size="-1">[
<a href="index.m3u">playlist for this dir</a> |
<a href="rindex.m3u">recursive playlist</a> ]
</font></p>
<p><font size="-1">
[ <a href="../index.html">Up one level</a> ]
</font></p>
<div align="center">
<table border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr><td>
<b>TYPE</b>
</td><td>
<b>URL</b>
</td></tr>
<!-- End of header -->
@BEGIN@
<!-- Beginning of "middle" -->
<tr><td>
@TYPE@
</td><td>
<a href="@URL@">@NAME@</a>
</td></tr>
<!-- End of "middle" -->
@END@
<!-- Beginning of footer -->
</table>
</div>
<p align="right"><font size="-1">
powered by Ample, for more information, see the
<a href="http://ample.sourceforge.net">project homepage</a>
</font></p>
</center>
</body>
</html>
<!-- End of footer -->
SUMMARY OF VARIABLES
SPECIAL - Only used once
BEGIN
END
GLOBAL - Can be used anywhere
SERVERNAME
PORT
PATH
NON-GLOBAL - Can only be used in the "middle" section
NAME
URL
LENGTH
TITLE
SIZE
TYPE
SPECIAL VARIABLES
These can only be used once.
BEGIN This variable (when placed in the beginning of a new line) marks the end of the header section and the start of the "middle" sec-
tion.
END This variable (when placed in the beginning of a new line) marks the end of the "middle" section and the start of the footer sec-
tion.
GLOBAL VARIABLES
These can be used anywhere.
SERVERNAME
The name of the server as given in ample.conf(5).
PORT The port that the server is listening to.
PATH The current path the user is viewing.
NON-GLOBAL VARIABLES
These can only be used in the "middle" section.
NAME The name of the song or directory.
URL The URL of the song or directory.
LENGTH The song length (in seconds) or blank if it is a directory.
TITLE The title of the song or "DIR" if it is a directory.
SIZE The file size or blank if it is a directory.
TYPE "FILE" if it is a file or "DIR" if it is a directory.
AUTHOR
David Hardeman <david@2gen.com>
SEE ALSO ample(1), ample.conf(5)Ample JANUARY 2002 AMPLE.HTML(5)