Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: OT - Sending Email on Windows

by softworkz (Monk)
on Apr 22, 2005 at 12:57 UTC ( #450398=note: print w/replies, xml ) Need Help??

in reply to Re: OT - Sending Email on Windows
in thread OT - Sending Email on Windows

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 => '', Cc => '', From => '', Subject => "Message", Message => "$Msg \n"); sendmail(%mail) or die $Mail::Sendmail::error;

Replies are listed 'Best First'.
Re: OT - Sending Email on Windows
by Anonymous Monk on Apr 22, 2005 at 14:37 UTC

    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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://450398]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-10-22 09:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.