it just confuses the issue....Digger
Hi,
I am using the following code. I am using windows 7 and i ahve active perl and mchine is i5. I got it from web site.
<span id="INSERTION_MARKER">#!/usr/bin/perl ##use strict; use warnings; use Email::Send; use Email::Send::Gmail; use Email::Simple::Creator;use IO::Socket::SSL qw( SSL_VERIFY_NONE );our ($uri);RPC:
ML::Client->new($uri, useragent => [ ssl_opts => { verify_hostname => 0, SSL_verify_mode => SSL_VERIFY_NONE, }, ],); my $email = Email::Simple->create( header => [ From => 'zulfi60001@gmail.com', To => 'zulfi60001@gmail.com', Subject => 'Server down', ], body => 'The server is down. Start panicing.', ); my $sender = Email::Send->new( { mailer => 'Gmail', mailer_args => [ username => 'zulfi60001@gmail.com', password => 'sand144rama', ] } ); eval { $sender->send($email) }; die "Error sending email: $@" if $@;
Its giving me following error:
D:\Zulfi\PERL MAIN FOLDER>perl gmail2.pl
Can't locate object method "new" via package "RPC:
ML::Client" (perhaps you for
got to load "RPC:
ML::Client"?) at gmail2.pl line 10.
D:\Zulfi\PERL MAIN FOLDER>
Can somebody help me with this problem.
Zulfi.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic