10-31-2018
This User Gave Thanks to jgt For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: kenkanya
3 Replies
2. UNIX for Dummies Questions & Answers
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)
Discussion started by: rbatte1
4 Replies
3. Shell Programming and Scripting
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)
Discussion started by: suthera
9 Replies
4. UNIX for Advanced & Expert Users
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)
Discussion started by: BHM
12 Replies
5. Shell Programming and Scripting
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)
Discussion started by: Wahooka
2 Replies
6. UNIX for Advanced & Expert Users
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)
Discussion started by: raggmopp
1 Replies
7. Shell Programming and Scripting
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)
Discussion started by: posner
4 Replies
8. Shell Programming and Scripting
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)
Discussion started by: posner
3 Replies
9. Red Hat
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)
Discussion started by: Nvizn
2 Replies
10. Shell Programming and Scripting
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
www::search::pagesjaunes
WWW::Search::Pagesjaunes(3pm) User Contributed Perl Documentation WWW::Search::Pagesjaunes(3pm)
NAME
WWW::Search::Pagesjaunes - Lookup phones numbers from www.pagesjaunes.fr
SYNOPSIS
use WWW::Search::Pagesjaunes;
my $pj = new WWW::Search::Pagesjaunes;
$pj->find( activite => "Plombier", localite => "Paris" );
do {
print $_->entry . "
" foreach ($pj->results);
} while $pj->has_more;
DESCRIPTION
The WWW::Search::Pagesjaunes provides name, phone number and addresses of French telephone subscribers by using the
<http://www.pagesjaunes.fr> directory.
METHODS
Two classes are used in this module, a first one (WWW::Search::Pagesjaunes) to do the fetching and parsing, and the second one and a second
one (WWW::Search::Pagesjaunes::Entry) holding the entry infos.
Here are the methods for the main WWW::Search::Pagesjaunes module:
new()
The constructor accept an optional LWP::UserAgent as argument, if you want to provide your own.
find( %request )
Here are the values for the %request hash that are understood. They each have two name, the first is the french one and the second is
the english one:
nom / name
Name of the person you're looking for.
activite / business
Business type of the company you're looking for. Note that if this field is filled, the module searches in the yellow pages.
localite / town
Name of the town you're searching in.
prenom / firstname
First name of the person you're looking for. It is not set if you set the 'activite' field.
departement / district
Name or number of the Departement or Region you're searching in.
results()
Returns an array of WWW::Search::Pagesjaunes::Entry containing the first matches of the query.
limit($max_number_of_entries)
Set the maximum number of entries returned. Default to 50.
has_more()
If the query leads to more than a few results, the field has_more is set. You can then call the results() method again to fetch the
datas.
The WWW::Search::Pagesjaunes::Entry class has six methods:
new($name, $address, $phone, $fax)
Returns a new WWW::Search::Pagesjaunes::Entry.
name
Returns the name of the entry.
address
Returns the address of the entry.
phone
Returns the phone number of the entry.
is_fax
Returns true if the phone number is a fax one, false otherwise. Note that currently, this method always returns 0.
entry($separator)
Returns the concatenation of the name and the phone number, separated by " - ". You can specify your own separator as first argument.
BUGS
The phone numbers are sometimes not correctly parsed, esp. when one entry has several phone numbers.
If you found a bug and want to report it or send a patch, you are encouraged to use the CPAN Request Tracker interface:
https://rt.cpan.org/NoAuth/Dists.html?Queue=WWW-Search-Pagesjaunes <https://rt.cpan.org/NoAuth/Dists.html?Queue=WWW-Search-Pagesjaunes>
COPYRIGHT
Please read the Publisher information of <http://www.pagesjaunes.fr> available at the following URL:
<http://www.pagesjaunes.fr/pj.cgi?html=commun/avertissement.html&lang=en>
WWW::Search::Pagesjaunes is Copyright (C) 2002, Briac Pilpre
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
AUTHOR
Briac Pilpre <briac@cpan.org>
perl v5.12.4 2011-11-02 WWW::Search::Pagesjaunes(3pm)