RE: Sending mail under Windows 95/2000

2002-11-13 Thread Kipp, James
-Shan Chau [mailto:tchau@;shaw.ca] Sent: Tuesday, November 12, 2002 9:07 PM To: Timothy Johnson; 'Kipp, James'; 'Help on PERL' Subject: Re: Sending mail under Windows 95/2000 I did find out that the problem is with: $smtp = Net::SMTP->new('shaw.ca'); by adding &q

RE: Sending mail under Windows 95/2000

2002-11-13 Thread Jenda Krynicky
From: Aman Thind <[EMAIL PROTECTED]> > Just use "shaw" instead of "shaw.ca" as in : > > $smtp = Net::SMTP->new('shaw')||die("my woes are never ending :("); > > You are supposed to use only the name of the mail server. > shaw.ca is an invalid argument to Net::SMTP as you will fi

RE: Sending mail under Windows 95/2000

2002-11-13 Thread Aman Thind
print "$!"; after trying to connect to the server as you do. Bon Mailing :) -aman. -Original Message- From: Tin-Shan Chau [mailto:tchau@;shaw.ca] Sent: Wednesday, November 13, 2002 7:37 AM To: Timothy Johnson; 'Kipp, James'; 'Help on PERL' Subject: Re: Sen

Re: Sending mail under Windows 95/2000

2002-11-13 Thread Tin-Shan Chau
nson" <[EMAIL PROTECTED]> To: "'Kipp, James'" <[EMAIL PROTECTED]>; "'Tin-Shan Chau'" <[EMAIL PROTECTED]>; "'Help on PERL'" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 12:26 PM Subject: RE: Sending mail unde

RE: Sending mail under Windows 95/2000

2002-11-12 Thread Timothy Johnson
riginal Message - From: "Timothy Johnson" <[EMAIL PROTECTED]> To: "'Kipp, James'" <[EMAIL PROTECTED]>; "'Tin-Shan Chau'" <[EMAIL PROTECTED]>; "'Help on PERL'" <[EMAIL PROTECTED]> Sent: Monday, November 11,

RE: Sending mail under Windows 95/2000

2002-11-11 Thread Timothy Johnson
:16 PM To: 'Tin-Shan Chau'; 'Help on PERL' Subject: RE: Sending mail under Windows 95/2000 $smtp = Net::SMTP->new('shaw.ca'); # connect to an > SMTP server > > $smtp->mail( '[EMAIL PROTECTED]' );# use the sender'

RE: Sending mail under Windows 95/2000

2002-11-11 Thread Kipp, James
$smtp = Net::SMTP->new('shaw.ca'); # connect to an > SMTP server > > $smtp->mail( '[EMAIL PROTECTED]' );# use the sender's > > address here > > $smtp->to('[EMAIL PROTECTED]');# recipient's address > > $smtp->data(); # Start the mail >

RE: Sending mail under Windows 95/2000

2002-11-11 Thread Kipp, James
> > $smtp = Net::SMTP->new('shaw.ca'); # connect to an SMTP server > $smtp->mail( '[EMAIL PROTECTED]' );# use the sender's > address here > $smtp->to('[EMAIL PROTECTED]');# recipient's address > $smtp->data(); # Start the mail > > c

Sending mail under Windows 95/2000

2002-11-11 Thread Tin-Shan Chau
I have been trying to get the sample program in the ActiveState documentation to work, but without much success. Here is the code: >>> use Net::SMTP; $smtp = Net::SMTP->new('shaw.ca'); # connect to an SMTP server $smtp->mai