Results 1 to 2 of 2

Thread: Contact Form with User Selected Recipient?

  1. #1
    Join Date
    Apr 2011

    Contact Form with User Selected Recipient?

    Hi all, I'm trying to set up a form for a online payday loan application and I need a script that will mail the results of the form to a user selected recipient. If I could do it in PHP I'd have no problem, but unfortunately, it's a Windows server and I can't run PHP, so I'm stuck with ASP.

    Here is my form code:

    <form action="formprocess.asp" method="post">
            <h1>Contact Information:</h1>
      <table width="730" border="1px" cellpadding="5">
        <td id="formlabel" width="80">First Name:</td>
        <td width="190"><input class="textbox" name="FIRST_NAME" type="text" /></td>
        <td id="formlabel" width="80">Last Name:</td>
        <td width="190"><input class="textbox" name="LAST_NAME" type="text" /></td>
        <td id="formlabel" width="80">Date of Birth:</td>
        <td width="190"><input class="textbox" name="DOB" type="text" /></td>
        <td id="formlabel" width="80">SIN:</td>
        <td width="190"><input class="textbox" name="SIN" type="text" /></td>
        <td class="empty" width="80">&nbsp;</td>
        <td class="empty" width="190">&nbsp;</td>
        <td class="empty" width="80">&nbsp;</td>
        <td class="empty" width="190">&nbsp;</td>
        <td id="formlabel" width="80">Street Address:</td>
        <td width="190"><input class="textbox" name="STREET_ADDRESS" type="text" /></td>
        <td id="formlabel" width="80">City:</td>
        <td width="190"><input class="textbox" name="CITY" type="text" /></td>
        <td id="formlabel" width="80">Province:</td>
        <td width="190">
        <select name="PROVINCE">
        	<option value="BC">British Columbia</option>
            <option value="AB">Alberta</option>
        <td id="formlabel" width="80">Home Phone:</td>
        <td width="190"><input class="textbox" name="HOME_PHONE" type="text" /></td>
        <td id="formlabel" width="80">Cell Phone:</td>
        <td width="190"><input class="textbox" name="CELL_PHONE" type="text" /></td>
        <td id="formlabel" width="80">Time at Address:</td>
        <td width="190">
        <select name="TIME_ADDRESS">
        	<option value="LESS_3MONTH">&lt; 3 Months</option>
            <option value="LESS_YEAR">&lt; 1 Year</option>
            <option value="1">1 Year</option>
            <option value="2">2 Years</option>
            <option value="3">3 Years</option>
            <option value="4">4 Years</option>
            <option value="5">5 Years</option>
            <option value="MORE_FIVE">&gt; 5 Years</option>
    <h1>Employment Information:</h1>
      <table width="730" border="1px" cellpadding="5">
        <td id="formlabel" width="43">Employer Name:</td>
        <td width="190"><input class="textbox" name="EMPLOYER_NAME" type="text" /></td>
        <td id="formlabel" width="80">Job Title:</td>
        <td width="190"><input class="textbox" name="JOB_TITLE" type="text" /></td>
        <td id="formlabel" width="80">Employer Phone:</td>
        <td width="190"><input class="textbox" name="EMPLOYER_PHONE" type="text" /></td>
        <td id="formlabel" width="80">Time at Employer:</td>
        <td width="190">
        <select name="TIME_EMPLOYER">
        	<option value="LESS_3MONTH">&lt; 3 Months</option>
        	<option value="LESS_YEAR">&lt; 1 Year</option>
            <option value="1">1 Year</option>
            <option value="2">2 Years</option>
            <option value="3">3 Years</option>
            <option value="4">4 Years</option>
            <option value="5">5 Years</option>
            <option value="MORE_FIVE">&gt; 5 Years</option>
        <td id="formlabel" width="80">Payment Schedule:</td>
        <td width="190">
        <select name="PAY_SCHEDULE">
        	<option value="WEEKLY">Weekly</option>
            <option value="BIWEEKLY">Bi-Weekly</option>
            <option value="MONTHLY">Monthly</option>
        <td id="formlabel" width="80">Monthly Gross ($):</td>
        <td width="190"><input class="textbox" name="MONTHLY_GROSS" type="text" /></td>
        <td id="formlabel" width="80">Income Type:</td>
        <td width="190">
        <select name="INCOME_TYPE">
        	<option value="REGULAR">Regular Employment</option>
            <option value="CTB">Child Tax Benefit</option>
            <option value="PENSION">Pension</option>
            <option value="EI">Employment Insurance</option>
            <option value="OTHER">Other</option>
        <td id="formlabel" width="80">If Other, Describe:</td>
        <td width="190"><input class="textbox" name="INCOMETYPE_OTHER" type="text" /></td>
        <td id="formlabel" width="80">Direct Deposit:</td>
        <td width="190"><input name="DIRECT_DEPOSIT" type="checkbox" value="YES" /></td>
    <h1>LOAN INFORMATION:</h1>
      <table width="730" border="1px" cellpadding="5">
        <td id="formlabel" width="80">Bank Name:</td>
        <td width="190"><input class="textbox" name="BANK_NAME" type="text" /></td>
        <td id="formlabel" width="80">Loan Amount Requested:</td>
        <td width="190"><input class="textbox" name="AMOUNT_REQUESTED" type="text" /></td>
        <td id="formlabel" width="80">Requested Speedy Cash Location:</td>
        <td width="190">
        <select name="RECIPIENT">
        	<option value="trobinson@scash.ca">---BRITISH COLUMBIA---</option>
            <option value="krink@scash.ca">Chilliwack</option>
            <option value="krink@scash.ca">Cranbrook</option>
            <option value="djenkins@scash.ca">Dawson Creek</option>
            <option value="djenkins@scash.ca">Kamloops</option>
            <option value="krink@scash.ca">Penticton</option>
            <option value="trobinson@scash.ca">Prince George</option>
            <option value="djenkins@scash.ca">Terrace</option>
            <option value="krink@scash.ca">Merrit</option>
            <option value="trobinson@scash.ca">---------ALBERTA---------</option>
            <option value="djenkins@scash.ca">Grand Prairie</option>
            <option value="krink@scash.ca">Lethbridge</option>
            <option value="krink@scash.ca">Red Deer</option>
            <option value="djenkins@scash.ca">Lloydminster</option>
    </table><br />
    <p>Applicant must be at least 19 years of age in BC, and 18 years of age in Alberta to apply.<br />
    All sections must be complete in order to qualify. By clicking submit, applicant agrees that <br />
    all information is true and accurate to the best of his or her knowledge.</p>
    <br />
    <input type="submit" />
    <input type="reset" />
    I need the script to send an email to the email address in the last SELECT item named RECIPIENT. Security is also a must, as personal information will be sent. Can anybody help me out? I'm lost when it comes to ASP...

    Thanks in advance!

  2. #2
    Join Date
    Jan 2008
    If you are accepting any personal information that should be secure, NEVER email that information. You should setup a database to store the information (even encrypted if you like).. and access all info over a SSL secure connection.

    This is not something that we could simply "show you some code" to make happen.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.08641 seconds
  • Memory Usage 2,882KB
  • Queries Executed 15 (?)
More Information
Template Usage (33):
  • (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)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (2)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./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
  • ./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 (73):
  • 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_postinfo_query
  • fetch_postinfo
  • 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
  • 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
  • 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