MIME::Lite 3.01
Sponsored Links
MIME::Lite 3.01 Ranking & Summary
File size:
0.048 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
993
Date added:
2007-03-07
Publisher:
ZeeGee Software Inc.
MIME::Lite 3.01 description
MIME::Lite is a low-calorie MIME generator Perl module.
SYNOPSIS
use MIME::Lite;
Create a single-part message:
### Create a new single-part message, to send a GIF file:
$msg = MIME::Lite->new(
From =>me@myhost.com,
To =>you@yourhost.com,
Cc =>some@other.com, some@more.com,
Subject =>Helloooooo, nurse!,
Type =>image/gif,
Encoding =>base64,
Path =>hellonurse.gif
);
Create a multipart message (i.e., one with attachments):
### Create a new multipart message:
$msg = MIME::Lite->new(
From =>me@myhost.com,
To =>you@yourhost.com,
Cc =>some@other.com, some@more.com,
Subject =>A message with 2 parts...,
Type =>multipart/mixed
);
### Add parts (each "attach" has same arguments as "new"):
$msg->attach(Type =>TEXT,
Data =>"Heres the GIF file you wanted"
);
$msg->attach(Type =>image/gif,
Path =>aaa000123.gif,
Filename =>logo.gif,
Disposition => attachment
);
Output a message:
### Format as a string:
$str = $msg->as_string;
### Print to a filehandle (say, a "sendmail" stream):
$msg->print(*SENDMAIL);
Send a message:
### Send in the "best" way (the default is to use "sendmail"):
$msg->send;
In the never-ending quest for great taste with fewer calories, we proudly present: MIME::Lite.
MIME::Lite is intended as a simple, standalone module for generating (not parsing!) MIME messages... specifically, it allows you to output a simple, decent single- or multi-part message with text or binary attachments. It does not require that you have the Mail:: or MIME:: modules installed.
You can specify each message part as either the literal data itself (in a scalar or array), or as a string which can be given to open() to get a readable filehandle (e.g., "
You dont need to worry about encoding your message data: this module will do that for you. It handles the 5 standard MIME encodings.
If you need more sophisticated behavior, please get the MIME-tools package instead. I will be more likely to add stuff to that toolkit over this one.
SYNOPSIS
use MIME::Lite;
Create a single-part message:
### Create a new single-part message, to send a GIF file:
$msg = MIME::Lite->new(
From =>me@myhost.com,
To =>you@yourhost.com,
Cc =>some@other.com, some@more.com,
Subject =>Helloooooo, nurse!,
Type =>image/gif,
Encoding =>base64,
Path =>hellonurse.gif
);
Create a multipart message (i.e., one with attachments):
### Create a new multipart message:
$msg = MIME::Lite->new(
From =>me@myhost.com,
To =>you@yourhost.com,
Cc =>some@other.com, some@more.com,
Subject =>A message with 2 parts...,
Type =>multipart/mixed
);
### Add parts (each "attach" has same arguments as "new"):
$msg->attach(Type =>TEXT,
Data =>"Heres the GIF file you wanted"
);
$msg->attach(Type =>image/gif,
Path =>aaa000123.gif,
Filename =>logo.gif,
Disposition => attachment
);
Output a message:
### Format as a string:
$str = $msg->as_string;
### Print to a filehandle (say, a "sendmail" stream):
$msg->print(*SENDMAIL);
Send a message:
### Send in the "best" way (the default is to use "sendmail"):
$msg->send;
In the never-ending quest for great taste with fewer calories, we proudly present: MIME::Lite.
MIME::Lite is intended as a simple, standalone module for generating (not parsing!) MIME messages... specifically, it allows you to output a simple, decent single- or multi-part message with text or binary attachments. It does not require that you have the Mail:: or MIME:: modules installed.
You can specify each message part as either the literal data itself (in a scalar or array), or as a string which can be given to open() to get a readable filehandle (e.g., "
You dont need to worry about encoding your message data: this module will do that for you. It handles the 5 standard MIME encodings.
If you need more sophisticated behavior, please get the MIME-tools package instead. I will be more likely to add stuff to that toolkit over this one.
MIME::Lite 3.01 Screenshot
MIME::Lite 3.01 Keywords
MIME
Lite 3.01
Perl module
module
message
new
Perl
type
send
MIME::Lite
MIMELite
MIME::Lite 3.01
Libraries
Programming
Bookmark MIME::Lite 3.01
MIME::Lite 3.01 Copyright
WareSeeker periodically updates pricing and software information of MIME::Lite 3.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of MIME::Lite 3.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
MIME::Type is a definition of one MIME type. Free Download
MIME::AltWords Perl module can properly deal with RFC-1522 encoded words. Free Download
MIME::Head is a MIME message header (a subclass of Mail::Header). Free Download
MIME::Charset module contains charset informations for MIME. Free Download
SMSer is a command-line application that lets you send an SMS messages to a list of phone numbers located in a file. Free Download
MIME::EncWords is a Perl module created to deal with RFC-1522 encoded words (improved). Free Download
XML::DOM::Lite::XSLT is Perl module XSLT engine for XML::DOM::Lite. Free Download
Be::Attribute is a Perl module to get and set MIME file attributes. Free Download
Latest Software
Popular Software
Favourite Software