Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2018-04-22 00:02 GMT
Find Nodes?
    Voting Booth?