You should be aware (and wary) that Matt Wrights scripts, and especially the FormMail script, have many security holes. The FormMail script can be used easily to mail spam in your name all over the world.
There are replacements that are more secure and that are programmed in a much better style than the scripts by Matt Wright.
I suggest as a first step that you move over to the NMS scripts as replacements to Matts scripts. As the second step, you should either learn how to use the Perl mail modules from CPAN, as there are Net::SMTP, Mail::Sendmail or other stuff a search or Super Search turns up on "mail" on this site.
As for your strategy of asking questions, the quality of the answers you get depends directly on the quality of your question. turnsteps home node has many good hints, Are there questions to basic? contains a discussion on how we could approach answers, and (again) Super Search will most likely turn up more hints on how to ask good questions that give you the answers you really need.
Here are some shallow hints your question should give to the person :
- The relevant code. Trim this down to the shortest possible code that reproduces the phenomenon, but no shorter. Try to make it that the posted code actually works. The posted code should be similar in form and style to what you actually use.
- Input you gave to your code
- Output you got from your code
- Output you expected from your code
- Resources you have already contacted about your problem (man pages, books, colleagues, other fora), and subsummation of the answers you got there (if any).
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The
$d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider
($c = $d->accept())->get_request(); $c->send_response( new #in the
HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||