Attaching to an email
am 18.05.2006 23:59:25 von cylurian
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.
Thanks
Re: Attaching to an email
am 19.05.2006 00:59:36 von Jim Gibson
In article <1147989565.081455.142830@i39g2000cwa.googlegroups.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:
I would also look on CPAN ( ) 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