Hi,
This is my first thread.
Iam trying the following:
OS: Sun
Database: DB2, Informix, Oracle
* Get the status of the database (using database command line options)
* pipe to a text file
* send mail of the text file to receiptents.
TODO1:
First step i tried to send a test message.... (3 Replies)
Dear all,
I've been working with AIX for, um, 15 years now and I have read all I can about the above, but I am stuck. Everything seems to point to using sendmail on the command line to embed a uuencoded attatchment will not work.
Using something like "(cat plain.txt;uuencode attach.file... (4 Replies)
Hi,
I got the following script from Ygor on this site:
#!/usr/bin/ksh
export MAILTO="email_address"
export CONTENT="/export/home/aisdba/email_body.html"
export SUBJECT="subject of email"
(
echo "Subject: $SUBJECT"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo... (9 Replies)
I have a html file:
# cat sample.html
<html>
<body>
Sample HTML file</p>
</body>
</html>
And I have two excel sheets (sheet1.xls & sheet2.xls)
I want to send an email by having the sample.html as the message body and two spreadsheets as the attachments.
I tried using the below command:... (12 Replies)
Hi.
I am using a script on HP-UX to send emails that include a Pdf attachment to clients. The scipt makes use of sendmail.
The scripts works for everything except gmail. When I go on gmail via my Web Browser, I can see the message with the attachment, but if I try to view or download the... (2 Replies)
Hi all:
Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project.
There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues.
Running with... (1 Reply)
I use sendmail to send html emails, my script works perfect and sends email with plain text attachment.
Now i need to attache png file to the email and this attachment part is not working.
(
echo "From: $FROM"
echo "To: $TO"
echo "MIME-Version: 1.0"
echo "Subject: $SUBJECT"
echo... (4 Replies)
Hi All,
I have a problem again with sendmail content type . I am trying to attach the gz file to the html email but couldnt figure out even after extensive google.
Here is my code.
(
echo "From: $FROM"
echo "To: $MAILTO"
echo... (3 Replies)
I've recently migrated a Solaris 10 server, to Redhat. I've migrated all my crons & scripts and now I'm attempting to set all the aliases, to send to the appropriate accounts. I have a particular user defined in /etc/aliases, however, when a particular script is ran in cron, I do not receive any... (2 Replies)
Need assistance in using the below script and having multiple png file attachments in the same script . Your inputs are appreciated. I dont have uuencode , I use either mailx, sendmail, mpack .
( echo "to: samplemail@somewhere.com"
echo "from: samplemail@elsewhere.com"
echo "subject:... (2 Replies)
Discussion started by: ajayram_arya
2 Replies
LEARN ABOUT DEBIAN
mail::milter::wrapper
Mail::Milter::Wrapper(3pm) User Contributed Perl Documentation Mail::Milter::Wrapper(3pm)NAME
Mail::Milter::Wrapper - Perl extension for wrappering milter objects
SYNOPSIS
use Mail::Milter::Wrapper;
my $milter = ...;
my $wrapper = new Mail::Milter::Wrapper($milter, &foo);
use Sendmail::Milter;
...
Sendmail::Milter::register('foo', $wrapper, SMFI_CURR_ACTS);
DESCRIPTION
Mail::Milter::Wrapper wraps another milter, allowing for interception of the passed arguments and/or return code of the contained milter.
METHODS
new(MILTER, CODEREF[, CALLBACK ...])
Creates a Mail::Milter::Wrapper object.
MILTER is the milter to wrap, which may be a plain hash reference or an instance of a hashref object such as "Mail::Milter::Object".
CODEREF is the wrapper subroutine. CALLBACKs, if specified, are named callbacks which are needed by the wrapper, even if the contained
milter does not use them.
The wrapper subroutine will be called with the following arguments, in this order:
* reference to the wrapper
* name of callback
* subroutine reference to call into the wrapped milter
* arguments for the callback (>= 0)
This subroutine should ALWAYS pass the "close" callback through to the contained milter. Failure to do so may corrupt the contained
milter's state information and cause memory leaks.
As an example, a simple subroutine which just passes the callback through might be written as:
sub callback_wrapper {
shift; # don't need $this
my $cbname = shift;
my $callback_sub = shift;
&$callback_sub(@_);
}
AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com>
SEE ALSO
Mail::Milter, Sendmail::Milter
perl v5.8.8 2004-02-26 Mail::Milter::Wrapper(3pm)