|
NAMEMail::SendEasy - Send plain/html e-mails through SMTP servers (platform independent). Supports SMTP authentication and attachments.DESCRIPTIONThis modules will send in a easy way e-mails, and doesn't have dependencies. Soo, you don't need to install libnet.It supports SMTP authentication and attachments. USAGEOOuse Mail::SendEasy ; my $mail = new Mail::SendEasy( smtp => 'localhost' , user => 'foo' , pass => 123 , ) ; my $status = $mail->send( from => 'sender@foo.com' , from_title => 'Foo Name' , reply => 're@foo.com' , error => 'error@foo.com' , to => 'recp@domain.foo' , cc => 'recpcopy@domain.foo' , subject => "MAIL Test" , msg => "The Plain Msg..." , html => "<b>The HTML Msg...</b>" , msgid => "0101" , ) ; if (!$status) { print $mail->error ;} STRUCTUREDuse Mail::SendEasy ; my $status = Mail::SendEasy::send( smtp => 'localhost' , user => 'foo' , pass => 123 , from => 'sender@foo.com' , from_title => 'Foo Name' , reply => 're@foo.com' , error => 'error@foo.com' , to => 'recp@domain.foo' , cc => 'recpcopy@domain.foo' , subject => "MAIL Test" , msg => "The Plain Msg..." , html => "<b>The HTML Msg...</b>" , msgid => "0101" , ) ; if (!$status) { Mail::SendEasy::error ;} METHODSnew (%OPTIONS)%OPTIONS:
send (%OPTIONS)%OPTIONS:
SEE ALSOMail::SendEasy::SMTP, Mail::SendEasy::AUTH, HPL.This module was created to handle the e-mail system of HPL. AUTHORGraciliano M. P. <gm@virtuasites.com.br>I will appreciate any type of feedback (include your opinions and/or suggestions). ;-P COPYRIGHTThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |