Thank you! This works very well but I get a "." at the end of some e-mails. For instance if the email is bob@bob.com. then I get bob@bob.com. and not just bob@bob.com
Hi all,
I would like to know if I can send unix mail to 'external email addresses'.
My unix server is leo@ABCcompany.com.
I am able to send emails to firstname.lastname@ABCcompany.com.
But, we have some email addresses in our team on our parent company's server - ex:... (2 Replies)
The only way I could extract the user names and 'from' IP addresses is to use a few temp files. Split up by 'Failed keyboard-interactive' and 'Failed password'.
Anyone have any idea to do this all in one go?
aaa.bbb.ccc.ddd 2009-03-23 01:28:33 sshd: Failed keyboard-interactive/pam... (2 Replies)
Suppose i have a txt file that is the list of the addresses,something like:
lala0045 john james
lala0234 george james
and i want to send an email to lala0045@blabla.com and lala0234@blabla.com,the same domain...what is the exact syntax i should use in my script?
there is a command... (10 Replies)
Hi,
If I want my script to send a mail to multiple recipients I can do the following:
if
then
echo $err_string1 | mailx -s "UAT CPU ALERT" 1@email.com
echo $err_string1 | mailx -s "UAT CPU ALERT" 2@email.com
fi
Can this also be done something like:
... (1 Reply)
for example, I have an html file, contain
<a href="http://awebsite" id="awebsite" class="first">website</a>and sometime a line contains more then one link, for example
<a href="http://awebsite" id="awebsite" class="first">website</a><a href="http://bwebsite" id="bwebsite"... (36 Replies)
I have an xml file with IP addresses all over the show. I want to print only the IP addresses and cut off any text before or after the IP address.
Example:
Note: The IP addresses (x.x.x.x) do not consistently appear in the xml file as per the pattern below. Sometimes there are text before... (8 Replies)
Hi, I'm trying to write a script that will check multiple files in a directory (all the relevant filenames begin "TT04.NOTES") for e-mail addresses, and then print these addresses to screen with a count at the bottom. I'm a bit of a novice with Perl but thought it would be the best tool for the... (2 Replies)
Hi Friends,
I have a bunch of URLs.
Each URL will open up an abstract page.
But, the source contains a link to the main PDF article.
I am looking for a script to do the following task
1. Read input file with URLs.
2. Parse the source and grab all the lines that has the word 'PDF'.... (1 Reply)
Guys could you please help. I want to have shell scripts that get the website html content and same time mail html page to DL.
Can any1 help here? (2 Replies)
Hi there from a newbie.
So, I have this huuuge portion of mail addresses with names interlaced.. looks like:
"name1" <mail1@domain1.com>, "name2" <mail2@domain2.com> ...
Sometimes there are no names, just mailaddress. My thought was to use regex with grep. I saved the list in file ma and... (2 Replies)
Discussion started by: dr_xemacs
2 Replies
LEARN ABOUT DEBIAN
log::agent::driver::mail
Agent::Driver::Mail(3pm) User Contributed Perl Documentation Agent::Driver::Mail(3pm)NAME
Log::Agent::Driver::Mail - email driver for Log::Agent
SYNOPSIS
use Log::Agent;
require Log::Agent::Driver::Mail;
my $driver = Log::Agent::Driver::Mail->make(
-to => 'oncall@example.org',
-cc => [ qw( noc@example.org admin@example,net ) ],
-subject => "ALERT! ALERT!",
-mailer => [ 'smtp', Server => 'mail.example.net' ]
);
logconfig(-driver => $driver);
DESCRIPTION
This driver maps the logxxx() calls to email messages. Each call generates a separate email message. The Mail::Mailer module is required.
CONSTRUCTOR
make OPTIONS
The OPTIONS argument is a hash with the following keys:
-prefix An optional prefix for the message body.
-to The destination addresses, may be a scalar containing a valid email address or a reference to an array of addresses.
-reply_to
The reply-to addresses, may be a scalar containing a valid email address or a reference to an array of addresses.
-from The source address, must be a scalar containing a valid email address.
-subject
The subject line of the email message.
-cc The carbon copy addresses, may be a scalar containing a valid email address or a reference to an array of addresses.
-bcc The blind carbon copy addresses, may be a scalar containing a valid email address or a reference to an array of addresses.
-priority
The priority level for the email message. This is NOT related to the logging priority.
-mailer A reference to an array containing the optional arguments to Mail::Mailer->new(). Generally, this can be omitted.
NOTES
Thanks to Shirley Wang for the idea for this module.
AUTHOR
Mark Rogaski <mrogaski@pobox.com>
LICENSE
Copyright (C) 2002 Mark Rogaski; all rights reserved.
See Log::Agent(3) or the README file included with the distribution for license information.
SEE ALSO
Mail::Mailer, Log::Agent::Driver(3), Log::Agent(3).
perl v5.10.0 2002-05-12 Agent::Driver::Mail(3pm)