| Jim Gibson 2006-05-18, 6:59 pm |
| In article <1147989565.081455.142830@i39g2000cwa.googlegroups.com>,
<cylurian@gmail.com> 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@csudh.org', ;
>
> 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
|