perldoc ESC problem (was: Send email using SMTP)

2009-01-10 Thread Mike Williams
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

Re: Opening a pipe when taint mode is enabled (was: Send email using SMTP)

2009-01-10 Thread Mike Williams
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

Re: Send email using SMTP

2009-01-10 Thread Adam Jimerson
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 ~]

Re: Opening a pipe when taint mode is enabled (was: Send email using SMTP)

2009-01-10 Thread Adam Jimerson
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'";

Opening a pipe when taint mode is enabled (was: Send email using SMTP)

2009-01-09 Thread Gunnar Hjalmarsson
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

Re: Send email using SMTP

2009-01-09 Thread matt
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

Re: Send email using SMTP

2009-01-09 Thread Adam Jimerson
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.

Re: Send email using SMTP

2009-01-09 Thread matt
> 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

RE: Send email using SMTP -Should be

2009-01-09 Thread Dermot Paikkos
> 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

Re: Send email using SMTP

2009-01-09 Thread Gunnar Hjalmarsson
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

Re: Send email using SMTP

2009-01-09 Thread Gunnar Hjalmarsson
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

RE: Send email using SMTP

2009-01-09 Thread Dermot Paikkos
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/

Re: Send email using SMTP

2009-01-09 Thread Adam Jimerson
"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

Re: Send email using SMTP

2009-01-09 Thread Adam Jimerson
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 $

Re: Send email using SMTP

2009-01-09 Thread Adam Jimerson
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

Re: Send email using SMTP

2009-01-08 Thread Mike Williams
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

Re: Send email using SMTP

2009-01-08 Thread Gunnar Hjalmarsson
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

Re: Send email using SMTP

2009-01-08 Thread Adam Jimerson
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

Re: Send email using SMTP

2009-01-07 Thread Gunnar Hjalmarsson
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

Re: Send email using SMTP

2009-01-07 Thread Adam Jimerson
"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

Re: Send email using SMTP

2009-01-06 Thread Fúlvio Figueirôa
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

Re: Send email using SMTP

2009-01-06 Thread Sean Davis
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

Re: Send email using SMTP

2009-01-06 Thread Fúlvio
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

Re: Send email using SMTP

2009-01-05 Thread Jody Fanto
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:

Send email using SMTP

2009-01-05 Thread Fúlvio
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

Re: Can somebody send me RFC numbers of POP3 & SMTP

2003-01-19 Thread Jenda Krynicky
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

2003-01-19 Thread LRMK
can somebody send me RFC numbers of POP3 & SMTP -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

MIME::Lite /SMTP-Proxy Problems

2002-12-09 Thread Sven Bentlage
: - 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]

RE: :SMTP / HTML

2002-09-12 Thread Scot Robnett
#!/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

Re: Net::SMTP / HTML

2002-09-11 Thread Sven Bentlage
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

Net::SMTP / HTML

2002-09-11 Thread Sven Bentlage
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

RE: pop-before-smtp in perl

2002-07-13 Thread Scot Robnett
: 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

pop-before-smtp in perl

2002-07-13 Thread Shao-Ju Chao
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

using Net::SMTP

2002-06-20 Thread Nate Brunson
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

Net::SMTP question

2002-06-13 Thread Nate Brunson
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

Re: How to send an email without Net::SMTP

2002-06-07 Thread Eric Wang
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

How to send an email without Net::SMTP

2002-06-06 Thread Octavian Rasnita
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]

Re: sending mail using Net::SMTP client

2002-05-10 Thread Felix Geerinckx
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

sending mail using Net::SMTP client

2002-05-09 Thread David Ravikumar
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(&

Re: Using smtp

2002-04-17 Thread eric-sourceforge
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({

Using smtp

2002-04-17 Thread Bill Lyles
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 "

Re: SMTP Problem

2002-04-08 Thread fliptop
[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

SMTP Problem

2002-04-08 Thread ROBERT_MCCAMMON
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->{

Re: The SMTP protocol

2002-02-09 Thread Briac Pilpré
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

The SMTP protocol

2002-02-09 Thread Octavian Rasnita
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

SMTP: Capturing delivery status

2001-10-28 Thread Eric Pretorious
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

SMTP

2001-08-20 Thread Helen Dickey
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

Re: SMTP

2001-08-19 Thread Teresa Raymond
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

SMTP

2001-08-19 Thread Helen Dickey
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

SMTP

2001-08-18 Thread Helen Dickey
How do you get the From: to show who sent? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SMTP e-mail attachment?

2001-08-01 Thread Mike Parsons
- 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

SMTP e-mail attachment?

2001-08-01 Thread Helen Dickey
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