>Hello,
>
>I've just recently written a perl program that decodes data sent from a 
>form and generates an HTML document which lists the decoded data. (Yeah, 
>i'm pretty new to Perl) The program works fine, but how do I get my program 
>to send the decoded data, once it receives it from a submitted form, to my 
>email address? Any help on this would be appreciated.
>--Eric


okay, I'm assuming you're accepting information from a web-form. I certainly 
hope you're using CGI.pm to get all you variables and everything. but either 
way, emailing it is a difficult matter. it might be easier to set the form 
to send to your email address, and have perl deal with the data in there. 
but assuming you want to format validate and then email, it depends.
if you have sendmail or any equivelant, you can probably use that. if you're 
on windows, you have a lot fewer options. you may be able to use email 
modules ( PPM> search mail ) if you have them and know the right settings to 
get to email it. if you're running from a web server you dont own, and you 
dont know if sendmail is available, try a using sendmail from there and see 
what happens. I use tripod (quality is dropping, but you still get your own 
CGI run for free), and I can send a few hundred emails per day. it's also 
listed in the help files that tripod has. if you have a different server 
that allows you to use your own CGI, check if they have sendmail or an 
equivelant, and if they do, they'll probably have some info on how to use 
it.
oh, and also, this isn't really an administration question, you might get 
more people able to respond by sending to perl-win32-users or a perl web 
mailing list or something.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to