Oh, sorry - that is confusing. 'localhost' is the SMTP server I'm
connecting to. It could be 'smtp-server.nc.rr.com' or 'smtp.hotmail.com' or
whatever works for your particular network configuration. Lots of SMTP
servers are setup where they won't accept your mail unless you're either
coming through their network or you're sending it to someone in their
domain.
The '64...' IP # is me. It's telling the server you're connecting to who
you are. You can also put a full domainname in there, too.
Jason
----- Original Message -----
From: "Helen Dickey" <[EMAIL PROTECTED]>
To: "Jason Purdy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 5:25 AM
Subject: Re: e-mailing HTML form results
> so is 64.70.149.84 you? do we literally put in 'localhost' or 'mailhost'
or do
> we put an address for this?
>
> Jason Purdy wrote:
>
> > I had this earlier this morning - this means the Net::SMTP object wasn't
> > created.
> >
> > In my code, I redirected STDERR and created the object using Debug=1 to
get
> > more information.
> >
> > open (STDERR, ">>/logs/mail_log");
> > $msHandle = Net::SMTP->new ('localhost',
> > Hello => '64.70.149.84',
> > Timeout => 10,
> > Debug => 1);
> > ...
> >
> > Then you can check out the log to see what's going on. More than
likely,
> > the server you're trying to use is denying your request. To keep your
code
> > from 'dying', surround the rest of your code with an if clause:
> >
> > if ($msHandle) {
> > # do the rest of the processing
> > }
> >
> > Jason
> >
> > ----- Original Message -----
> > From: "Helen Dickey" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, July 25, 2001 4:14 PM
> > Subject: re: e-mailing HTML form results
> >
> > > Now I am getting the error message
> > > Can't call method "recipient" on an undefined value at
feedback1SMTP.pl
> > > line 77.
> > > Does this mean that my address as recipient is wrong?
> > > Helen
> > >
> > >
> > > --
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
>
> Jason Purdy wrote:
>
> > I had this earlier this morning - this means the Net::SMTP object wasn't
> > created.
> >
> > In my code, I redirected STDERR and created the object using Debug=1 to
get
> > more information.
> >
> > open (STDERR, ">>/logs/mail_log");
> > $msHandle = Net::SMTP->new ('localhost',
> > Hello => '64.70.149.84',
> > Timeout => 10,
> > Debug => 1);
> > ...
> >
> > Then you can check out the log to see what's going on. More than
likely,
> > the server you're trying to use is denying your request. To keep your
code
> > from 'dying', surround the rest of your code with an if clause:
> >
> > if ($msHandle) {
> > # do the rest of the processing
> > }
> >
> > Jason
> >
> > ----- Original Message -----
> > From: "Helen Dickey" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, July 25, 2001 4:14 PM
> > Subject: re: e-mailing HTML form results
> >
> > > Now I am getting the error message
> > > Can't call method "recipient" on an undefined value at
feedback1SMTP.pl
> > > line 77.
> > > Does this mean that my address as recipient is wrong?
> > > Helen
> > >
> > >
> > > --
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]