Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: Net::SMTP Module query

by karlgoethebier (Curate)
on Nov 12, 2012 at 13:08 UTC ( #1003435=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Net::SMTP Module query
in thread Net::SMTP Module query

May be but anyway take a look at this:

#!/usr/bin/perl use MIME::Lite; use strict; use warnings; my $msg = MIME::Lite->new( From => 'someone@somewhere', To => 'someone@nowhere', Subject => 'It is a test', Data => 'I prefere this module.' ); $msg->send('smtp','host', Debug => 1);

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»


Comment on Re^5: Net::SMTP Module query
Download Code
Re^6: Net::SMTP Module query
by gilesy (Initiate) on Nov 12, 2012 at 13:18 UTC
    Thanks Karl, I've actually included the MIME::Lite module as part of my overall script but wanted to get Net::SMTP working first as this module is already installed on the particular server i'm working on. I have asked for the Mime::Lite module to be installed and am still waiting a good 2 weeks since I originally asked (I don't have access to install this module on the server myself).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (16)
As of 2014-08-29 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls