http://www.perlmonks.org?node_id=965594


in reply to Send email from windows 7

For an unauthenticated smtp server it is as simple as calling:

MIME::Lite->send("smtp", "smtp.your.domain.here");

once somewhere in your script before the first time you try to send an email using $msg->send(). You may need to talk to your network administrator to find out what the URL is for your smtp server, but if you have an email application set up on the Windows 7 computer you can check the configuration options there to find the details you need.

True laziness is hard work

Replies are listed 'Best First'.
Re^2: Send email from windows 7
by mailmeakhila (Sexton) on Apr 18, 2012 at 12:24 UTC
    Hi I dont have an email application running on my machine. I am trying to use mail.googlemail.com to send email to my own gmail id.
      A reply falls below the community's threshold of quality. You may see it by logging in.