02-03-2018
Quote:
Originally Posted by
RudiC
Sorry?
sorry to say
if we can reduce the URL length in same code we can achieve the result
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: dellsh
1 Replies
2. Shell Programming and Scripting
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)
Discussion started by: cesarNZ
2 Replies
3. Shell Programming and Scripting
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)
Discussion started by: sureshg_sampat
5 Replies
4. Shell Programming and Scripting
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)
Discussion started by: chinnu01
4 Replies
5. UNIX for Dummies Questions & Answers
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)
Discussion started by: sridanu
3 Replies
6. Shell Programming and Scripting
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)
Discussion started by: ramkia6
1 Replies
7. Shell Programming and Scripting
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)
Discussion started by: rahulbahulekar
3 Replies
8. Shell Programming and Scripting
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)
Discussion started by: maddog21
3 Replies
9. Shell Programming and Scripting
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)
Discussion started by: lawrence88
8 Replies
10. Shell Programming and Scripting
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 SUSE
tnm::http
http(n) Tnm Tcl Extension http(n)
__________________________________________________________________________________________________________________________________________________
NAME
http - Send and process HTTP requests.
_________________________________________________________________
DESCRIPTION
The Hypertext Transfer Protocol (HTTP) (RFC 1945) is a client/server protocol used to retrieve documents in the World Wide Web. Documents
are addressed using Uniform Resource Locators (URL) (RFC 1738). The http command allows to implement HTTP clients and a simple HTTP server.
HTTP COMMAND
The following list of http commands is useful for HTTP clients:
http proxy [url]
The http proxy command allows to define a proxy HTTP server which will be used in subsequent client commands. Using this command
without an url argument will return the URL to the currently used proxy or an empty string. Providing a url argument sets the proxy
server. Setting the proxy to an empty string turns the proxy feature off.
http head url
The http head command retrieves the HTTP header for the document located at url. The header is returned as a list of keys and values
which can be converted into a Tcl array using the array set command.
http get url fileName
The http get command retrieves the document located at url. The body of the document is written to the file named fileName. The com-
mand returns the HTTP header as described for the http head command above.
http post url docFileName fileName
The http post command posts the document in docFileName to the location url. The body of the returned document is written to the
file named fileName. The command returns the HTTP header as described for the http head command above.
http put url docFileName
The http put command puts the document in docFileName to the location url. The command returns the HTTP header as described for the
http head command above.
http delete url
The http delete command deletes the document at the location defined by url. The command returns HTTP status information.
The following set of http commands is useful for a simple HTTP server:
http server [port]
The http server command starts a simple HTTP server listening on port port. If called without a port argument, the currently used
port number or an empty string is returned. An empty string indicates that no server is currently active.
http mime type extension
The http mime command is used to add mime type definitions to the internal table which maps file name extension to mime types. If
called without an argument, the list of all mime type mappings is returned. A new mapping is created by supplying a mime type and
the file name extension.
http bind pattern method [script]
The http bind command binds a Tcl script to the invocation of a HTTP method where the URL matches pattern. Whenever a HTTP request
of type method is received that matches the pattern, script is evaluated. The return value of the script must be a name of a file
which will be send back to the client. Errors during the evaluation of the script will result in an error response.
The following % sequences are substituted before a script bound to a URL is evaluated:
%A The network address of the client.
%P The URL path requested by the client.
%S The search path contained in the URL path.
SEE ALSO
scotty(1), Tnm(n), Tcl(n)
AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm http(n)