Krynicky,

This is just a guess, but are you relying on sendmail to send your emails?

if so, sendmail is a *unix* script. You need an SMTP server on your box.

Make sure you've got an SMTP server.

Ronan

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:activeperl-admin@;listserv.ActiveState.com]On Behalf Of Jenda
>Krynicky
>Sent: Tuesday, October 22, 2002 7:04 PM
>To: [EMAIL PROTECTED];
>[EMAIL PROTECTED]
>Subject: Re: difficulties mailing on win32 - none on Unix
>
>
>From:                  [EMAIL PROTECTED]
>> I am new to this list, (and a bit of a newbie with perl), so apologies
>> if this has been covered before - I have searched the faqs but can
>> only find standard examples.
>> 
>> Anyhow, I have some scripts which use Net::SMTP to mail data, and
>> these have been working fine while hosted on a Unix box.
>> 
>> For operational reasons, I have recently installed ActivePerl Win32 on
>> a Windows XP box and have moved my site and scripts to this.
>> Everything works normally, except the mail routines. I have tried
>> Mail::Sender and get the same problems - 
>> 
>> In all the scripts, using the new constructor fails (returns -1).
>
>-1 means "The SMTP server ... was not found" in Mail::Sender.
>
>Are you sure you have the address right?
>
>Jenda
>===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
>When it comes to wine, women and song, wizards are allowed 
>to get drunk and croon as much as they like.
>       -- Terry Pratchett in Sourcery
>
>_______________________________________________
>ActivePerl mailing list
>[EMAIL PROTECTED]
>To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>
>
>
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to