Hi there. Since the charset doesn't seem to be the problem, maybe this will
help.
Did some digging and found a bug report against redhat version 8 concerning
terminal codes in perldoc output.
There were comments about this being a bug in groff.
https://bugzilla.redhat.com/show_bug.cgi?id=72125
T
On Fri, Jan 9, 2009 at 6:30 PM, Adam Jimerson wrote:
> Gunnar Hjalmarsson wrote:
>
> > Adam Jimerson wrote:
> >>
> >> According to perlsec I need to use it as a key in a hash or reference a
> >> substring. The example given is
> >>
> >> ,[ ]
> >> if ($data =~ /^([...@\w.]+)$/) {
> >> $data
matt wrote:
>
> This is usually the result of a mismatch between the character set
> used by your ssh client and the locale settings of your session.
> Here's a link that discusses:
> http://help.lockergnome.com/linux/high-ascii-characters-linux-terminal-
ssh-ftopict487060.html
>
> [u...@host ~]
Gunnar Hjalmarsson wrote:
> Adam Jimerson wrote:
>>
>> According to perlsec I need to use it as a key in a hash or reference a
>> substring. The example given is
>>
>> ,[ ]
>> if ($data =~ /^([...@\w.]+)$/) {
>> $data = $1; # $data now untainted
>> } else {
>> die "Bad data in '$data'";
Adam Jimerson wrote:
Gunnar Hjalmarsson wrote:
There is only one suspected variable to consider, i.e. $name, which is
probably tainted. Untaint it, and you are done. ( You remember where to
find out how, right? ;-) )
According to perlsec I need to use it as a key in a hash or reference a
sub
On Jan 8, 8:55 pm, vend...@charter.net (Adam Jimerson) wrote:
> "Mike Williams" wrote:
>
> > You can read the output of perldoc perlsec on the web at:
> >http://perldoc.perl.org/perlsec.html
>
> That will help, thanks!
>
> > What version of perl are you using? What OS?
>
> > I've seen similar prob
Gunnar Hjalmarsson wrote:
> Adam Jimerson wrote:
>> Gunnar Hjalmarsson wrote:
>>> Adam Jimerson wrote:
Do I need to specify anything for the $ENV{PATH} or do I just leave it
blank
>>>
>>> It depends. You have to take into consideration whether your program
>>> relies on any of the paths.
> I wasn't able to remember what it exactly said, but yes it is about
> $ENV{PATH}, on my machine perldoc perlsec is riddled with formating problems
> it looks like, here is a copy of what I mean:
>
> "Perl automatically enables a set of special security checks, called
> ESC[4mtaintESC[24
> m ESC[4
> Is a discussion about taintedness off topic on a Perl-CGI list? Don't
> think so.
'Sending email via SMTP' is off-topic for CGI.
Cross-posting is bad form on any list. Bad boy Fulivo.
Adam pointed out on Wednesday that the thread was slipping OT.
> > and the th
Dermot Paikkos wrote:
This is all very OT
Is a discussion about taintedness off topic on a Perl-CGI list? Don't
think so.
and the thread is running strongly on perl-beginners.
:-/
And...?
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: be
Adam Jimerson wrote:
Gunnar Hjalmarsson wrote:
Adam Jimerson wrote:
Do I need to specify anything for the $ENV{PATH} or do I just leave it
blank
It depends. You have to take into consideration whether your program
relies on any of the paths. If not, it's fine to leave it blank.
The only ti
This is all very OT and the thread is running strongly on
perl-beginners.
:-/
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
"Mike Williams" wrote:
>
> You can read the output of perldoc perlsec on the web at:
> http://perldoc.perl.org/perlsec.html
>
That will help, thanks!
> What version of perl are you using? What OS?
>
> I've seen similar problems with perldoc a few years ago while using perl
> 5.6.1 on early v
Gunnar Hjalmarsson wrote:
>> I wasn't able to remember what it exactly said, but yes it is about
>> $ENV{PATH}, on my machine perldoc perlsec is riddled with formating
>> problems
>
> You can always read it online: http://perldoc.perl.org/perlsec.html
>
>> Do I need to specify anything for the $
Adam Jimerson wrote:
> I wasn't able to remember what it exactly said, but yes it is about
> $ENV{PATH}, on my machine perldoc perlsec is riddled with formating
> problems it looks like, here is a copy of what I mean:
>
Ok adding $ENV{PATH} = ''; or even $ENV{PATH} = '/usr/bin'; (in case it
nee
On Thu, Jan 8, 2009 at 2:17 PM, Adam Jimerson wrote:
> >
> > Please read more about Perl security in "perldoc perlsec".
> >
>
> I wasn't able to remember what it exactly said, but yes it is about
> $ENV{PATH}, on my machine perldoc perlsec is riddled with formating
> problems
> it looks like, her
Adam Jimerson wrote:
Gunnar Hjalmarsson wrote:
Adam Jimerson wrote:
are you using the -T switch on your
script? When I tried to open "/usr/bin/mail" with that switch on I get a
error message about an insecure environment command.
Did it just say "insecure environment"? On my box it says: "In
Gunnar Hjalmarsson wrote:
> Adam Jimerson wrote:
>>> I solved my problem using the sendmail with the code below in my script:
>>>
>>> open (MAIL, "|/usr/sbin/sendmail -t ");
>>> print MAIL "From: someaddr...@somedomain\n";
>>> print MAIL "To: someaddre...@somedomain\n";
>>> print MAIL "Content-Typ
Adam Jimerson wrote:
I solved my problem using the sendmail with the code below in my script:
open (MAIL, "|/usr/sbin/sendmail -t ");
print MAIL "From: someaddr...@somedomain\n";
print MAIL "To: someaddre...@somedomain\n";
print MAIL "Content-Type: text/plain\n";
print MAIL "Subject: Very simple
"F??lvio Figueir??a" wrote:
> Hi Sean,
> I think there is a firewall, but I don't have access to it because I am on
> work.
> I solved my problem using the sendmail with the code below in my script:
>
> open (MAIL, "|/usr/sbin/sendmail -t ");
> print MAIL "From: someaddr...@somedomain\n";
> print
d a firewall by any chance?
>
> Sean
>
>
>>
>>
>> On 5 jan, 21:16, jody_rrhq_fa...@yahoo.com (Jody Fanto) wrote:
>> > The problem is that you are using an invalid smtp server address. You
>> probably want "smtp.mail.yahoo.com". For example, t
an
>
>
> On 5 jan, 21:16, jody_rrhq_fa...@yahoo.com (Jody Fanto) wrote:
> > The problem is that you are using an invalid smtp server address. You
> probably want "smtp.mail.yahoo.com". For example, this works for me --
> >
> > #!perl
>
> &g
Hi Jody,
I use your code bellow but the the following error message happens:
"Can't call method "domain" on an undefined value at "
Thanks,
Fúlvio
On 5 jan, 21:16, jody_rrhq_fa...@yahoo.com (Jody Fanto) wrote:
> The problem is that you are using an inval
The problem is that you are using an invalid smtp server address. You probably
want "smtp.mail.yahoo.com". For example, this works for me --
#!perl
use strict;
use warnings;
use Net::SMTP;
my $smtp = Net:
Hi all,
I am trying to send an email using the following code:
use Net::SMTP;
$smtp = Net::SMTP->new("smtp.yahoo.com");
$smtp->mail('fulviocg');
but the error below is happening:
Can't call method "mail" on an undefined value at
Can someone help
From: "LRMK" <[EMAIL PROTECTED]>
> can somebody send me RFC numbers of POP3 & SMTP
http://www.faqs.org/rfcs/
SMTP = 2821
POP3 = 1939
MIME = 2045-2049
Jenda
P.S.: I't possible that one of those is already obsoleted by a higher
number. You'll fi
can somebody send me RFC numbers of POP3 & SMTP
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
:
- why this happens?
- how I can prevent that?
Thanks for your help in advance.
Cheers,
Sven
Error message:
[Attachment denied by WatchGuard SMTP proxy (type "text", filename
"(none)")]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
#!/usr/bin/perl -w
# Link for Sven:
# http://search.cpan.org/author/ERYQ/MIME-Lite-2.117/lib/MIME/Lite.pm
# Send HTML document with inline images
# MIME::Lite a purely perly sorta thing, so
# if it's not installed in @INC we can put
# it there without problems
BEGIN {
unshift(@INC,"/path
Ok, managed to do it myself, using MIME::Lite.
:)
On Donnerstag, September 12, 2002, at 04:18 Uhr, Sven Bentlage wrote:
> Hi everyone!
> I am using the Net::SMTP module to send some confirmation emails.
> Until now I sent just plain text emails, but now I'd like to "prod
Hi everyone!
I am using the Net::SMTP module to send some confirmation emails.
Until now I sent just plain text emails, but now I'd like to "produce"
a html mail.
Both email clients I tested (mail.app / Outlook Express 6) only display
the source code.
Could anybody give me a
: Saturday, July 13, 2002 3:21 PM
To: [EMAIL PROTECTED]
Subject: pop-before-smtp in perl
My web shosting ISP (featureprice.com) has applied 'pop-before-smtp' rule on
its SMTP
server so every time anyone want to send mail via their smtp server, the
user has to
login to the POP3 account fir
My web shosting ISP (featureprice.com) has applied 'pop-before-smtp' rule on its SMTP
server so every time anyone want to send mail via their smtp server, the user has to
login to the POP3 account first (to identity they are valid users). They do this to
prevent their smtp server being
is there a way I can get Net::SMTP to return errors that it might encounter into a
variable, or something?
so that on the page that pops up after the mail is sent, it can display errors if
there were any. I have read the man page on it and cant figure out a way to do this
any help would be
I have been working on a simple mail script using Net::SMTP; and the script works
fine...but I was wondering, we had some coldfusion mail scripts, that were written by
an e-commerce company, stop working... then i was going over my code and i realized
that I never used $smtp->quit; DUN
Use Mail::Sendmail
Eric
On Wed, 5 Jun 2002, Octavian Rasnita wrote:
> Hi all,
>
> Is it complicated to send email with an SMTP mail server if the Net::SMTP
> module is not installed?
>
> Thank you.
>
> Teddy,
> [EMAIL PROTECTED]
>
>
>
> --
> To un
Hi all,
Is it complicated to send email with an SMTP mail server if the Net::SMTP
module is not installed?
Thank you.
Teddy,
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
on Fri, 10 May 2002 07:12:48 GMT, [EMAIL PROTECTED] (David
Ravikumar) wrote:
> $smtp->to("[EMAIL PROTECTED]");
> $smtp->datasend("To: [EMAIL PROTECTED]");
> $smtp->datasend("From: [EMAIL PROTECTED] \n");
Within double quotes, you should es
Hi,
I am trying to send a mail via Net::SMTP
The code is below
$smtp = Net::SMTP->new("smtp.domain.com");
$smtp->to("[EMAIL PROTECTED]");
$smtp->data();
$smtp->datasend("To: [EMAIL PROTECTED]");
$smtp->datasend(&
On Wed, 17 Apr 2002, Bill Lyles wrote:
> How can I change this to smtp?
Bill:
Try using Mail::Mailer:
#!/usr/bin/perl -w
use Mail::Mailer;
my $To = $ARGV[0];
my $mailer = Mail::Mailer->new('smtp', 'your.smtp.host');
$mailer->open({
I have a script that I'm trying to edit to use smtp because it only calls
for a mail program.
this is the code
if ($found) {
open (MAILME, "|$mailprog -t") or &dienice("Can't access $mailprog!\n");
print MAILME "To: $email\n";
print MAILME "
[EMAIL PROTECTED] wrote:
>
> foreach(my $ref = $sth->fetchrow_hashref()) {
> print qq($ref->{'pager'});
> use Net::SMTP;
> my $smtp = Net::SMTP->new('mailhost', Hello => 'hawkeye.dmtn.com', Debug
> => 1,);
> $sm
Hello,
I am having difficulty, while using strict, to pull an email address out of
a hash from a MySQL querry.
I can get it to print out the result but not the same to go into a Net::SMTP
packet. I am using strict
foreach(my $ref = $sth->fetchrow_hashref()) {
print qq($ref->{
On Sat, 9 Feb 2002 09:54:31 -0800, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> Do you know where I can get information about the SMTP protocol?
> I read in a module that it is explained in RFC821.
> Where can I found this RFC?
http://www.google.com/search?q=RFC821
with a bit
Hi all,
Do you know where I can get information about the SMTP protocol?
I read in a module that it is explained in RFC821.
Where can I found this RFC?
Will I understand the SMTP protocol from there, to be able to make a script
for sending mail?
Thank you for any tips.
Teddy,
My dear email
he address
that was submitted or display an error .html page if the SMTP
transmission fails...
Net::SMTP, Mail::Sendmail, Mail::Sender, and Mail::Mailer all *seem* to
require an intermediary SMTP server. i.e., They *seem* to require that the
script hand the message off to my SMTP server for delivery. P
The top of my e-mailed web page has
From - Thu Aug 16 07:28:43 2001 Received: from
freya.domainnameservers.net
(freya.domainnameservers.net [208.165.79.5]) by mail.his.com
(8.9.3/8.9.3) with ESMTP id HAA19218 for ; Thu, 16 Aug 2001
07:25:01 -0400 (EDT)
on it. This looks
I'm not sure if this is what you're asking: On the html form put a
text box for the sender's email address.
Sender's Email
What is your code for the email message? If you post the code we
could see what the problem may be.
>I made a form. I made a perl program to take results and e-mail p
I made a form. I made a perl program to take results and e-mail pretty
html page to my friend Kathy. I don't know how to put who the form was
from. I don't know the sender. E-mail message leaves a blank.
Helen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
How do you get the From: to show who sent?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Original Message -
From: Mike Parsons
To: Helen Dickey
Sent: 8/1/2001 1:53:05 PM
Subject: RE: SMTP e-mail attachment?
Hi,
I am VERY new to all this, but if the HTML is sent in code form to your
friend, can't she Copy and Paste the code to her notebook, save
I wrote a html form.
I wrote a perl script to
1)take the responses and put them into a pretty html page that the
user sees on his/her web browser after submitting and
2)send the same pretty page to my friend Kathy.
1)works
2)sends the HTML code for the pretty page as the e-mail message.
I would li
52 matches
Mail list logo