Perl: Send an Email with attachment through Gmail SMTP

On December 19, 2012, in PERL, by Dipin Krishna

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 […]

Tagged with:  

Perl: Send an E-Mail using Email::Simple and Email::Sender

On September 7, 2012, in PERL, by Dipin Krishna

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 […]

Perl: How to Upload a file using perl CGI

On August 17, 2012, in HTML, PERL, by Dipin Krishna

This is a tutorial on how to upload a file using perl CGI.

Tagged with:  

Perl: Process an array or a hash inside a Template

On March 17, 2012, in PERL, by Dipin Krishna

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! ­čÖé

 

Perl: Send a chat message to your gmail buddy using Jabber

On December 23, 2010, in PERL, by Dipin Krishna

Net::Jabber provides a Perl user with access to the Jabber Instant Messaging protocol. Net::Jabber is a convenient tool to use for any perl script that would like to utilize the Jabber Instant Messaging protocol. While not a client in and of itself, it provides all of the necessary back-end functions to make a CGI client […]

Tagged with:  

Perl: Send a message to a queue or topic using Stomp

On December 21, 2010, in PERL, by Dipin Krishna

Net::Stomp┬á´╗┐module allows you to write a Stomp client. Stomp is the Streaming Text Orientated Messaging Protocol (or the Protocol Briefly Known as TTMP and Represented by the symbol :ttmp). It’s a simple and easy to implement protocol for working with Message Orientated Middleware from any language.┬áNet::Stomp is useful for talking to Apache ActiveMQ, an open […]

Tagged with:  

Search