This is a tutorial on how to send an email with attachment via Gmail SMTP. Here i am using Email::MIME to create the email/message object. Email::Sender::Simple (sendmail) is used to send the mail with the help of secure transport provided by Email::Sender::Transport::SMTP::TLS. The sample script below sends an email with two attachments and a text/html
Email::Simple is the first deliverable of the “Perl Email Project.” The Email:: namespace was begun as a reaction against the increasing complexity and bugginess of Perl’s existing email modules. Email::* modules are meant to be simple to use and to maintain, pared to the bone, fast, minimal in their external dependencies, and correct. Email::Sender replaces
This is a tutorial on how to upload a file using perl CGI.
Process and array or a hash inside a perl template #Print an Array named items [% FOREACH item IN items -%] [% item %] [% END -%] #Print a HASH named items [% FOREACH key IN items.keys.sort -%] [% key %]: [% terms.$key %] [% END -%] Enjoy coding! 🙂