
Email::Send::Zoho - Send email with Zoho's SMTP servers

Version 0.01

use Email::Send::Zoho;
my $smtp = Email::Send::Zoho->new('john@zoho.com','mypasswd');
$smtp->sendmail($subject,$html_body,'foo@gmail.com','bar@hotmail.com');

Create the object.
The email acount can be at zoho.com, or any other domains you setup with zoho business application.
my $smtp = Email::Send::Zoho->new('foo@zoho.com','password');
# or with debug
my $smtp = Email::Send::Zoho->new('foo@zoho.com','password',1);
Send the message.
The subject and body can be Chinese (if so they must be UTF-8 string). They will be encoded with UTF-8 for sending.
The message body should be HTML syntax compatible, it will be sent with text/html format.
my $subject = "Hello";
my $html_body =<<EOF;
<html>
<body>
<h1>Hello there</h1>
<p>It's nice to see you.</p>
</body>
</html>
EOF
$smtp->sendmail($subject,$html_body,'foo@gmail.com');
# send to more than one people
$smtp->sendmail($subject,$html_body,'foo@gmail.com','bar@hotmail.com', ...);

Ken Peng <yhpeng@cpan.org>

If you have found bugs, please send email to <yhpeng@cpan.org>

You can find documentation for this module with the perldoc command.
perldoc Email::Send::Zoho

Copyright 2012 Ken Peng, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.