Results 1 to 4 of 4

Thread: Help with Mail_Handler

Hybrid View

  1. #1
    Join Date
    Oct 2005

    Angry Help with Mail_Handler

    I do not understand why my form I have on my web site is not working correctly. I am using angelfire.com as my web host and Microsoft XP Frontpage to build the site.
    Every time I try to summit the form I get this error
    "Oops! We can only accept forms that
    come from a Angelfire URL. Sorry!"
    I have tried to learn CIG/Perl by reading up on it through web sites, but with no help!
    I can read what I have submitted in my _private folder in my cgi_bin but I would like to have them sent to my email address. Do I need a new folder in my cgi_bin with the script to handle this process... ..Please someone help me understand what I am doing wrong. I have added my web address and the HTLM for that page.




    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta http-equiv="Content-Language" content="en-us">
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta name="Microsoft Theme" content="canvas 011, default">

    <body><table border="0" cellpadding="0" cellspacing="0" width="100%">
    <td width="150" colspan="2" align="center">&nbsp;</td>
    <td align="center">
    <!--webbot bot="Navigation" s-type="banner" s-rendering="graphics" S-Orientation B-Include-Home B-Include-Up U-Page S-Target --> </td>
    <td width="100%" colspan="3" style="border-bottom-style: none; border-bottom-width: medium"></td>
    </table><table border="0" cellpadding="0" cellspacing="0" width="100%">
    <td style="border-bottom-style: solid; border-bottom-width: 1" align="right">
    <h4><!--webbot bot="Timestamp" S-Type="REGENERATED" S-Format="%m/%d/%y" --> </h4>
    </table><table border="0" cellpadding="0" cellspacing="0" width="100%">
    <td valign="top" width="75" style="border-left-style:none; border-left-width:medium; border-right-style:solid; border-right-width:1; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium">
    <!--webbot bot="Navigation" S-Orientation="vertical" S-Rendering="graphics" S-Type="siblings" B-Include-Home="TRUE" B-Include-Up="FALSE" -->
    <td valign="top" width="5" style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium"></td>
    <td valign="top" height="100%" style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium">
    <!--webbot bot="PurpleText" preview="Feedback Form - Customize the form below to collect the information you need. By default, the form data is saved to a text file on the web server using the FrontPage Save Results component. Edit the Form Properties to change this behavior." -->
    <p>Tell me what you think about my web site.&nbsp; I welcome all of your comments
    and suggestions.</p>
    <form action="/cgi-bin/script_library/form_handler_mail" method="post"
    <INPUT TYPE="hidden" NAME="email_to"VALUE="papaverrhoeas1@aol.com">
    <INPUT TYPE="hidden" NAME="end_display"
    <p><strong>What kind of comment would you like to send?</strong></p>
    <input type="radio" name="MessageType" value="Problem">Problem
    <input type="radio" checked name="MessageType" value="Suggestion">Suggestion
    <input type="radio" name="MessageType" value="Praise">Praise</dd>
    <p><strong>Subject&nbsp; </strong></p>
    <p><input type="text" size="26" maxlength="256" name="Subject"></p>
    <p><strong>Enter your comments in the space provided below:</strong></p>
    <dd><textarea name="Comments" rows="5" cols="42"></textarea></dd>
    <p><strong>Tell me how to get in touch with you:</strong></p>
    <td><input type="text" size="35" maxlength="256" name="Username"></td>
    <td><input type="text" size="35" maxlength="256" name="UserEmail"></td>
    <td><input type="text" size="35" maxlength="256" name="UserTel"></td>
    <td><input type="text" size="35" maxlength="256" name="UserFAX"></td>
    <input type="checkbox" name="ContactRequested" value="ContactRequested">
    Please contact me as soon as possible regarding this matter.</dd>
    <INPUT TYPE="hidden" NAME="required" VALUE="Username,UserEmail">
    <INPUT TYPE="hidden" NAME="order" VALUE="MessageType,Subject,Comments,Username,UserEmail,UserTel,UserFAX,ContactRequested">
    <INPUT TYPE="hidden" NAME="savefile" VALUE="visitors.txt">
    <p><input type="submit" value="Submit Comments">
    <input type="reset" value="Clear Form"></p>
    <p align="center"><small>
    <!--webbot bot="Navigation" S-Orientation="horizontal" S-Rendering="html" S-Bar="Bars" S-Btn-Nml="&lt;A HREF=&quot;#URL#&quot; TARGET=&quot;#TARGET#&quot; STYLE=&quot;text-decoration: none;&quot;&gt;#LABEL#&lt;/A&gt;" S-Btn-Sel="#LABEL#" S-Btn-Sep="&amp;nbsp;|&amp;nbsp;" S-Type="siblings" B-Include-Home="TRUE" B-Include-Up="FALSE" -->
    <p align="center"><i><small>This site was last updated
    <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%m/%d/%y" --> </small></i>

    <p align="center">&nbsp;</p>



  2. #2
    Join Date
    Oct 2005

    First of all ... are you sure you're allowed to run scripts from your angelfire account? The following is from the angelfire site:

    "CGI/PERL Support
    If you subscribe to Angelfire Neon, Argon, Xenon, or Krypton, you can upload, write, and edit your own CGI/Perl scripts!"

    In other words, if you have the free hosting, cgi support is not included.

    Aside from that ...

    When I go to the url for your web site, I see in the source that you have an extra opening form tag (<form>). You need to remove that and then try again. There could be other things as well, but it looks like the form is sending the data via "GET" rather than "POST" which is what you specified in the second form tag.

    Also, you don't have a file extension for the script name like form_handler_mail.pl or form_handler_mail.cgi or .php.

    Check all of these things out.


  3. #3
    Join Date
    Oct 2005

    It's still not working

    Thank for your response Kelly.

    I am having such a problem with the CGI script. I am trying to read up on it but not sure on how to make it work...do you know of any good web site that are for beginners...LOL
    I guess my problem lies in the fact I am not sure how to write the script for the CGI

    Yes I pay for my angelfire site, and they have been no help when it come to asking questions...You would think that they would be more willing to help with this problem, but I guess not.

    Again I thank you for the help..


  4. #4
    Join Date
    Oct 2005
    <INPUT TYPE="hidden" NAME="email_to"VALUE="papaverrhoeas1@aol.com">
    You need a space between NAME="email_to" and VALUE="papaverrhoeas1@aol.com">

    Last edited by kelly23; 11-02-2005 at 10:08 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.09611 seconds
  • Memory Usage 3,000KB
  • Queries Executed 13 (?)
More Information
Template Usage (30):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (27):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./includes/functions_threadedmode.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (71):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates