SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Jul 2000
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am using a form, that people will fill out, and when they select submit, the form will be emailed to me. It works fine for some people, but with others, their email program pops up with a blank message. I am using action="mailto:..." in the form tag. All users are using IE5, and Outlook is the email program. Any ideas why it works for some and not others. I take it must have something to do with individual settings somewhere.

  2. #2
    Misfit
    Join Date
    Apr 2000
    Location
    Pennsylvania, USA
    Posts
    2,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It would be a lot easier (and it would work for everyone) if you sent it through a CGI script. I would reccomend doing that 100%.

    ------------------
    Justin Stayton
    WEB: http://www.j.cx
    EMAIL: justin@j.cx
    ICQ: 45549000

  3. #3
    SitePoint Evangelist Timothy's Avatar
    Join Date
    Sep 1999
    Location
    Houston TX
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look at one of the following sites and you'll find a CGI script to help you...

    <UL TYPE=SQUARE>
    <LI> http://www.hotscripts.com
    <LI> http://www.cgi-resources.com
    <LI> http://www.freeperlcode.com
    </UL>

    They are some cgi scripts there that will help you... Hope that helps!


    ------------------
    Timothy

    ICQ: 32876466
    MSN: TimothyD2000

  4. #4
    SitePoint Member
    Join Date
    Jul 2000
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys. I have this form on a new server that we bought at work, that our web team is still feeling out. It's IIS4.0, so what will I need to get cgi scripts to work? I know I need a cgi-bin directory, but other than that I'll need some insight as what to do.

  5. #5
    SitePoint Member
    Join Date
    Jul 2000
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Unfortunately cannot help with setting your CGI-BIN folder, but if you need a nice form script go to:
    http://bignosebird.com

    The program is called BNBForm, and I used it for both of my websites. Works great.

    Hope this helps...


    ------------------
    Have a website? Need more visitors? Go here:
    http://www.mega-income.com

  6. #6
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You don't need CGI to get your form to email a copy to you. Just make sure CDO or ASPEMAIL is installed and the form can mail itself to you.

    Here is the entire code I use to process my Forms. It will will work with any form with no modifications what so ever and you can make it more intelligent (ask me how) if you want.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
    &lt;%
    Sub Process_Form
    Dim FormText, Mailer, key

    Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
    Mailer.FromName = "Digital Magician Feedback"
    Mailer.FromAddress= "feedback@digitalmagician.com"
    Mailer.RemoteHost = "mail.digitalmagician.com"
    Mailer.AddRecipient "Feedback", "feedback@digitalmagician.com"
    Mailer.Subject = Request.form("Subject")
    FormText = ""
    For each key in Request.Form
    FormText = FormText & Key & ": " & Request.Form(key) & vbCrLf
    Next
    Mailer.BodyText = FormText
    if Mailer.SendMail then
    Response.Write "&lt;p&gt;Feedback sent...&lt;/p&gt;"
    else
    Response.Write "&lt;p&gt;Feedback failure. Please send your comments by EMAIL to feedback@digitalmagician.com&lt;/p&gt;"
    Response.Write "&lt;p&gt;" & Mailer.Response & "&lt;/p&gt;"
    end if

    Set Mailer = Nothing
    End Sub
    Response.Buffer = True
    %&gt;
    [/code]

    The above code works with the ASPEmail component but it can easily be modified for CDO. Some additional sites you might want to look at for ASP are ASP101.com, 4guysfromrolla.com and ASPIN.com. ASPIN has hundreds of commercial and free scripts to automate your IIS webserver.

    ------------------
    Wayne Luke - Sitepoint Forums Administrator
    Digital Magician Magazine - MetaQuark Creations (Coming Soon)
    sitepoint@digitalmagician.com

    [This message has been edited by wluke (edited July 14, 2000).]


Bookmarks

Posting Permissions

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