Re: Attaching to an email
- From: Jim Gibson <jgibson@xxxxxxxxxxxxxxxxx>
- Date: Thu, 18 May 2006 15:59:36 -0700
In article <1147989565.081455.142830@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<cylurian@xxxxxxxxx> wrote:
I'm creating a CGI script for my webpage.
I'm using the Mail:Sendmail module
So far I have this:
%mail = (TO => \'fromero@xxxxxxxxx\', ;
message => \"Test\" );
sendmail(%mail);
Can someone tell me how to continue writing the script so I can attach
a file (file.txt) to this email.
The documentation for Mail::Sendmail reveals the following reference:
<http://alma.ch/perl/Mail-Sendmail-FAQ.html#attachments>
I would also look on CPAN ( <http://search.cpan.org> ) for other mailer
modules that make sending attachments easier, such as MIME::Lite.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
.
- References:
- Attaching to an email
- From: cylurian
- Attaching to an email
- Prev by Date: Attaching to an email
- Next by Date: ANNOUNCE: ExtUtils::ModuleMaker v0.47
- Previous by thread: Attaching to an email
- Next by thread: ANNOUNCE: ExtUtils::ModuleMaker v0.47
- Index(es):
Relevant Pages
|
|