Unable to send email from perl script

D

da_sotong

Hi all,

I have a perl script that does the sending of email. However i keep
getting the same error when i run the script:

Failed to connect to mail server: Unknown error

I'm quite sure that the codes are correct (as the script COULD work on
my colleagues' machine)..i'm suspecting that it's my configuration of
my machine...I'm using win2k for now...installed all the necessary
modules and IIS ....wat could be the error?
 
A

Andre Wisniewski

I have a perl script that does the sending of email. However i keep
getting the same error when i run the script:

Failed to connect to mail server: Unknown error

I'm quite sure that the codes are correct (as the script COULD work on
my colleagues' machine)

So why ask here?
..i'm suspecting that it's my configuration of
my machine...I'm using win2k for now...installed all the necessary
modules and IIS ....wat could be the error?

How about asking a win2k group?

Unbelievable!
 
D

David Efflandt

Hi all,

I have a perl script that does the sending of email. However i keep
getting the same error when i run the script:

Failed to connect to mail server: Unknown error

I'm quite sure that the codes are correct (as the script COULD work on
my colleagues' machine)..i'm suspecting that it's my configuration of
my machine...I'm using win2k for now...installed all the necessary
modules and IIS ....wat could be the error?

What Perl method are you using (module?) and what smtp server are you
attempting to connect to? Perhaps it is attempting to relay through an
smtp server on localhost, and you are not running one, or it is not
properly configured. Or maybe you have a firewall that is blocking it.

The open relay(s) that some modules may have used in the past may no
longer be open, due to spam abuse. Although, if you use a module like
Mail::Sendmail, you may be able to configure it for a specific destination
smtp server (one that is MX for destination address).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top