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 me? Thanks FĂșlvio -- To unsubscribe,

Text::vCard trouble

2009-01-05 Thread Bill Stephenson
I want to use Text::vCard to import Address Book data and put that data into a CGI.pm object. So far I can break out the name and address from a vCard but I can't seem to access the phone number data. Below is the script I'm building for this. Can anyone spot what I'm doing wrong? Kindest

Using CGI.pm to set up textfields and then parse them

2009-01-05 Thread marys
Does anyone know how to set up a large number of textfields for data input and then parse them conveniently? In the CGI.pm book it shows how to use the form element 'textfield' like so: #!/usr/bin/perl -wT use CGI::Carp qw(fatalsToBrowser); use CGI ':standard'; use CGI::Pretty; use strict; use

Re: Using CGI.pm to set up textfields and then parse them

2009-01-05 Thread Greg Jetter
On Monday 05 January 2009 2:22:08 pm marys wrote: Does anyone know how to set up a large number of textfields for data input and then parse them conveniently? In the CGI.pm book it shows how to use the form element 'textfield' like so: #!/usr/bin/perl -wT use CGI::Carp qw(fatalsToBrowser);

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 =