develooper Front page | perl.pep | Postings from May 2010

I do not understand the error CGI that I get CGI using Email:: Simple

Thread Next
From:
fakessh
Date:
May 3, 2010 17:51
Subject:
I do not understand the error CGI that I get CGI using Email:: Simple
Message ID:
9c2add7213650da3250ca3fba0d8dce9@127.0.0.1
hello all
hello pep network
hello guru of perl

This class is named message
this:

[root@r13151 ~]# cat /usr/lib/perl5/site_perl/5.8.8/PerlWebmail/Message.pm
package PerlWebmail::Message;
use base qw(MIME::Lite);
use base qw(Email::Simple);

sub new
{
  my $class = shift;

  my $self = $class->SUPER::new(@_);

  return $self;
}

sub mail 
{
    my ($self, $message) = @_;
    my $obj = Email::Simple->new($message);
    print $obj->as_string;
    $Self->new;

}

1;



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About