From: SourceForge.net <no...@so...> - 2003-12-19 10:41:47
|
Support Requests item #862848, was opened at 2003-12-19 05:41 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=425770&aid=862848&group_id=39625 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: allegra maxi (allegramaxi) Assigned to: Nobody/Anonymous (nobody) Summary: Formmail enviornment variables issue Initial Comment: Hello... I am attempting to use your script on my sites but while the email goes through the it does not retrieve info from the @valid_env tag nor does it send a confirmation email to the sender here is the pl script with my additions: ~~~~~~~~~~~~~~~~~~~~~~~ { $DEBUGGING = 1; $emulate_matts_code= 0; $secure = 1; $allow_empty_ref = 1; $max_recipients = 1; $mailprog = '/usr/sbin/sendmail -oi -t'; $postmaster = 'tr...@xx...'; @referers = qw(xxxx.net localhost); @allow_mail_to = qw(xxxx.net localhost); @recipients = (); %recipient_alias = ( '1' => 'tr...@xx...' ); @valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT); $locale = ''; $charset = 'iso-8859-1'; $date_fmt = '%A, %B %d, %Y at %I:%M,%p'; $style = '../css/contact.css'; $no_content = 0; $double_spacing = 1; $wrap_text = 1; $wrap_style = 1; $send_confirmation_mail = 1; $confirmation_text = <<'END_OF_CONFIRMATION'; From: yo...@yo... Subject: A note from xxxx Thank you for your communications. END_OF_CONFIRMATION # # USER CONFIGURATION << END >> ~~~~~~~~~~~~~~~~~~~~~~~~~ and here is my html ~~~~~~~~~~~~~~~~~~~~~~~~~~ <form method="post" action="/cgi-bin/contact.pl"> <input type="hidden" name="recipient" value="1" /> <input type="hidden" name="subject" value="A note from xxxx" /> <input type="hidden" name="redirect" value="/contact_success.htm" /> <input type="hidden" name="sort" value="order:name,email,comments,env_report" /> <input type="hidden" name="missing_fields_redirect" value="/contact_required.htm" /> <input type="hidden" name="required" value="name,email,comments" /> <input type="hidden" name="env_report" /> <input name="name" value="name"type="text" size="45"> <br><br> <input name="email" value="email"type="text" size="45"> <br><br> <textarea name="comments" cols="60" rows="10" wrap="VIRTUAL"> baby moon, tis time for bed, owlet leaves his nest now; hide your little horned head in the twilight west now... </textarea> <br><br> <!-- communicate button --> <input name="submit" type="submit" value="Communicate"> </form> ~~~~~~~~~~~~~~~~~~~~~~ your assistance on the matter would be greatly appreciated as I used "alienform" at one time and my hosting company discontinued it last week leaving me with no communication form and I need a replacement ASAP.... your scirpt was recommended to me but I need the enviornment & confirmation email features to work.... please advise... thank you AM ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=425770&aid=862848&group_id=39625 |