Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Sending Mail trough Perl using ActivePerl on windows

by shigetsu (Hermit)
on Jun 19, 2007 at 22:22 UTC ( [id://622127]=note: print w/replies, xml ) Need Help??


in reply to Sending Mail trough Perl using ActivePerl on windows

I'm inclined to think that Net::SMTP is perhaps a bit overkill here for what you're trying to achieve (I haven't studied the according documentation extensively and don't know your exact intentions, so I may be wrong -- from what I understand, it lets you interface the SMTP server directly as if you would telnet to it on the port the SMTP service is listening to and set off your commands (that doesn't necessarily imply that the entire SMTP subset of understood commands is implemented in Net::SMTP)).

You may have a look at Mail::Sendmail, which is in my opinion much more user-friendly, but also a bit more limited (perhaps sufficient for your needs).

As it seems you're worrying about not installing extra packages (or are not permitted to do so), you could 'simply' use lib in combination with Mail::Sendmail.

Update: mention of lib

  • Comment on Re: Sending Mail trough Perl using ActivePerl on windows

Replies are listed 'Best First'.
Re^2: Sending Mail trough Perl using ActivePerl on windows
by the_hawk_1 (Scribe) on Jun 20, 2007 at 13:18 UTC
    Thanks for the hint of using lib, it's really helpfull!
    You are right, I can't install any module, for now. Someday I'll find out a way to do so!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found