in reply to Mailling module Help in direction
I like MIME::Lite.
What can be asserted without proof can be dismissed without proof. - Christopher Hitchens
|Replies are listed 'Best First'.|
Re^2: Mailling module Help in direction
by zealf (Novice) on Apr 25, 2010 at 03:55 UTC
Another Perl monk named Corion mantioned I should use CGI and little while ago. I did resist as the learning curb is already pretty big and having to relearn, well....
I now fully understand the advantages of use CGI now, security and a much better use of variables.
Bellow is my new and improved script. I have debugged though the command line and have had a syntax returned ok msg.
How ever running off of the server I am getting 500 errors.
Can anyone tell me the name of modules this script is using?.
A few things. Firstly cgi-lib is old, very old. Please do not use this, it has some nasty security flaws and IIRC isn't 100% compliant with the CGI specification. Use the CGI module, it will be well worth the short time taken to replace cgi-lib. Secondly, your code is missing:
On to your question. For your example above, does your script receive the input correctly? If I where you, I'd do the following:
After this is you have further problems please let us know.
Hope this helps.