For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > September 2005 > Re: I have problems with download scripts, it's trying to print instead









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: I have problems with download scripts, it's trying to print instead
Gunnar Hjalmarsson

2005-09-30, 6:58 pm

E Arredondo wrote:
> What code should I use it I want the script to email someone about the
> upload ?
>
> here's the idea :
>
> print { $filename was uploaded | mail -s $filename henry }


perldoc -q "send mail"

There are several other modules available; my personal favorite is
Mail::Sender.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com