in reply to OT - Sending Email on Windows

any solution you use is going to require an SMTP server. I suggest ou call your ISP.

Ted

Replies are listed 'Best First'.
Re^2: OT - Sending Email on Windows
by softworkz (Monk) on Apr 22, 2005 at 12:57 UTC
    I'm on windoze also. I use Mail::Sendmail, but you need to know your smtp server! Edit the module and make the changes to reflect your smtp server and then edit\run this code to send an e-mail
    #print "sending email"; my $Msg = "my first email"; my %mail = ( To => 'YOU@YOUREMAIL.com', Cc => 'SOMEONE@SOMEWHERE.com', From => 'HOST@SOMEWHERE.com', Subject => "Message", Message => "$Msg \n"); sendmail(%mail) or die $Mail::Sendmail::error;
      Hi,!

      thanks for the replies everyone.

      I just followed gellyfish 's detailed instructions on configuring my IIS to allow relay connections for my SMTP at localhost and I finally got it to work!

      As of now, all I can hope is that I'm not the only one who had this problem with sending e-mail on Windows. Hopefully anyone who was in my situation --(Has adminstrative access to there Windows server and trying to allow your SMPT to relay so your perl script can work!) --then they can use this thread to solve their problem.

      It took so long sitting last night w/out accomplishing anything only because I took the time to try to get all three modules working to send e-mail, read all three e-mail sending module doc's, smpt related info, and basic IIS smpt config that in the long run didn't help much but give me a bit more knowledge.

      Thanks tanger