I
++imanshu
Hi,
I am trying the example script of Mail::Sendmail with ActivePerl
on windows pc connected to the internet:-
---
- trying localhost
- connect to localhost failed (Unknown error)
retrying in 1 seconds...
- connect to localhost failed, next server...
connect to localhost failed (Unknown error)
connect to localhost failed
connect to localhost failed (Unknown error) no (more) retries!
---
This is the script :-
use Mail::Sendmail;
%mail = ( To => '(e-mail address removed)',
From => '(e-mail address removed)',
Message => "This is a very short message",
);
sendmail(%mail) or die $Mail::Sendmail::error;
print "OK. Log says:\n", $Mail::Sendmail::log;
---
What can I set $mail{smtp} so that it works?
Thank You,
++imanshu
I am trying the example script of Mail::Sendmail with ActivePerl
on windows pc connected to the internet:-
---
- trying localhost
- connect to localhost failed (Unknown error)
retrying in 1 seconds...
- connect to localhost failed, next server...
connect to localhost failed (Unknown error)
connect to localhost failed
connect to localhost failed (Unknown error) no (more) retries!
---
This is the script :-
use Mail::Sendmail;
%mail = ( To => '(e-mail address removed)',
From => '(e-mail address removed)',
Message => "This is a very short message",
);
sendmail(%mail) or die $Mail::Sendmail::error;
print "OK. Log says:\n", $Mail::Sendmail::log;
---
What can I set $mail{smtp} so that it works?
Thank You,
++imanshu