07-19-2005
Agreed
I saw the post on the frontpage of the forums with the "search the database" rule underlined. My bad, I'll start there going forward
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I need the C code for Sending Email with attachment through
SMTP protocol, running under linux platform.
Thanks (1 Reply)
Discussion started by: Mr coder
1 Replies
2. Shell Programming and Scripting
As a part of requirement I need to send out mails with attachment from UNIX. I have to take query the Oracle DB and send the result of the query in an attachment through mail.
I use the following script for the same.
#!/bin/csh
#!/bin/bash
#!/bin/ksh
ATTFILE=/folder1/test.xls
cd... (1 Reply)
Discussion started by: Sgiri1
1 Replies
3. Shell Programming and Scripting
Hi,
I want to send an email with multiple attachment using uuencode and mail command.
I am able to send with one attachment
Ex:uuencode abc.txt abc.txt | mail test@test.com -s "Test3"
Can anyone reply with syntax.
Regards
BS (3 Replies)
Discussion started by: balajiora
3 Replies
4. Shell Programming and Scripting
I am trying to send an email body of information and also attachment using perl script, but I am only able to send the body but not an attachment. is there around it without using "use MIME::Lite;" module.
$user = "bataf\@xyz.com";
$subjectt = "mail from perl";
open(MAIL, "| mailx -s... (1 Reply)
Discussion started by: bataf
1 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
Hi,
Please help me in sending an e-mail with attachment through unix
mailx command is not present in our unix box. (4 Replies)
Discussion started by: dudd9
4 Replies
7. Shell Programming and Scripting
The file is located under appl/batchdata/
file name: storesales.txt
I am using following code because uuencode is not present. I am not getting the data in file but i am getting the blank file with same name as an email attachment.
( echo "from: sch@xxxx.com"
echo "to:sch@xxxx.com"
echo... (2 Replies)
Discussion started by: skatpally
2 Replies
8. Shell Programming and Scripting
Hi
Please help me how to send email attchment from linux server to outlook id
I dont have uuencode or mutt installed on my machine and below is my uname -a output:
Linux xxxxxxx 2.6.18-308.4.1.el5 #1 SMP Wed Mar 28 01:54:56 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux (7 Replies)
Discussion started by: buzzme
7 Replies
9. Shell Programming and Scripting
Hi All,
do we have any option for sending attachment with email except using uuencode and mutt, because if i use these utilities then i will have to install them separately which is not feasible at time.
please suggest on this. (2 Replies)
Discussion started by: lovelysethii
2 Replies
10. Red Hat
Hello experts!!
I am trying to send an email with message body and attachment.but i am getting any one like message body or attachment.
I tried below command:
(echo "subject:test";echo "MIME-Version: 1.0";echo "content-transfer-encoding:base 64";echo "content-type:txt;name=test.txt";cat... (2 Replies)
Discussion started by: Devipriya Ch
2 Replies
LEARN ABOUT DEBIAN
atbindaddrule
atbindrule(3) AtFS Toolkit Library atbindrule(3)
NAME
atBindAddRule, atBindDelRule, atBindRuleFile, atBindDisplayErrors, atBindTestRule, atBindShowRules, atBindListRules - version bind rule
handling
SYNOPSIS
#include <atfs.h>
#include <atfstk.h>
int atBindAddRule (char *ruleName, char *ruleBody, char *srcFile, int srcLine);
int atBindDelRule (char *ruleName);
int atBindRuleFile (char *fileName);
int atBindDisplayErrors;
int atBindTestRule (char *ruleName);
int atBindShowRules (void);
char**atBindListRules (void);
DESCRIPTION
The atBind module maintains an internal database storing all known version bind rules.
The atBindAddRule function stores a new rule in the internal database. It expects the rule name, optionally including parameter defini-
tions, and the rule body as string arguments. Additionally, the filename (srcFile) of the file, where the rule is read from, and the line
within that file (srcLine), may be given. This is used for producing proper error messages. atBindAddRule returns -1 on error, 0 otherwise.
atBindDelRule removes a previously defined rule from the internal database. It returns a negative return value (-1), when no rule with the
given name was not found in the internal database.
The atBindRuleFile function scans a file containing version bind rules and adds all contained rules to the internal database. It returns
the number of version bind rules successfully added to the internal database. A zero return value may also indicate an error.
The switch atBindDisplayErrors may be set TRUE to enable error reporting during parsing of version binding rules. Error messages will be
written directly to standard error. Initially, atBindDisplayErrors is set FALSE.
AtBindTestRule reports whether ruleName is defined as version binding rule or not. It returns a non zero (TRUE) value when the name is
defined, otherwise FALSE.
atBindShowRules dumps the internal database to the standard output. Return value is always TRUE.
atBindListRules returns all known bind rule names in a list. The list memory is allocated by use of malloc(3). On error, atBindListRules
returns a null pointer.
DIAGNOSTICS
Upon error, each routine returns a null value, the variable atBindError is set true (non-zero), and an explaining message is copied to the
atBindErrorMsg string buffer. The atBindError variable is cleared upon successful calls, the message buffer remains unchanged.
ENVIRONMENT
SHAPETOOLS - list of path names as search space for files containing version bind rules. The bind rule files must be named BindRules.
Default path is /usr/local/lib/shape.
FILES
$SHAPETOOLS/BindRules
SEE ALSO
atbind(3)
AtFStk-1.12 Tue Jun 29 16:16:26 1993 atbindrule(3)