Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Script Works, Email Contains No Information

  1. #1
    Join Date
    Feb 2004
    Posts
    2

    Default

    The script works very good, and I receive an email, but the*no email contains no information.* I expect this is due to the*form customization.

    Overall the documentation is excellent, far superior to most scripts, but this may be an area to upgrade.**Addressing how to modify*the script to accomodate the variety of forms people may want to produce.

    This is the form:

    <form name="formmail"* action="http://www.printxpress.us/formmail.php" method="post">
    <input type="hidden" name="recipients" value="CustomerService_of_printxpress.us">
    <input type="hidden" name="required" value="FirstName,LastName,Title,Company,email,Comments">
    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">
    <input type="hidden" name="subject" value="Customer Service Inquiry">

    This is the portion of the script which I modified, but still recieve no information:

    $SPECIAL_FIELDS = array(
    ******* "FirstName", *// the first name of the person who filled in the form
    ******* "LastName", *// the last name of the person who filled in the form
    ******* "Title", **** // the title name of the person who filled in the form
    ******* "Company", **** // the company name of the person who filled in the form
    ******* "email",** **// email address of the person who filled in the form
    ******* "Comments",** *// comments from the person who filled in the form
    ******* "recipients",** // comma-separated list of email addresses to which we'll send the results
    ******* "required",**** // comma-separated list of fields that must be found in the input
    ******* "good_url",**** // URL to go to on success
    ******* "bad_url",***** // URL to go to on error
    ******* "subject",***** // subject for the email
    ******* "env_report",** // comma-separated list of environment variables to report
    ******* "filter",**// a support filter to use
    ******* "logfile",**// log file to write to
    ******* "csvfile",**// file to write CSV records to
    ******* "csvcolumns",*// columns to save in the csvfile
    ******* "crm_url",**// URL for sending data to the CRM
    ******* "crm_spec",**// CRM specification (field mapping)
    ******* "alert_to");*** // email address to send alerts (errors) to


    Here is the information I recieve in the email:

    Send
    ==================================

    REMOTE_HOST=
    REMOTE_ADDR=4.5.19.154
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705)
    REMOTE_USER=

    Thank You,** Jake

  2. #2
    Join Date
    Dec 2003
    Posts
    3,980

    Default

    Hi Jake,

    You shouldn't add your fields to the $SPECIAL_FIELDS array.

    If you remove your fields from there, and leave it in its original state, that should fix the problem.

    The $SPECIAL_FIELDS array is for internal FormMail.php purposes.

  3. #3
    Join Date
    Feb 2004
    Posts
    2

    Default

    Good job and a very fast response.* I like it and thank you.

    As displayed in my previous entry, I have all fields required.* However, invalid email entries repeatedly pass through undetected.* The violations are gross, not minor.* An example follows:

    To: CustomerService@printxpress.us
    Wrom: HDMNNSKVFVWRKJVZCMHVIBGDADR<snipped>

    And, as a follow-up,*is it possible to remove the line "realname:" from the process so it doesn't appear in the*email?

    Jake



  4. #4
    Join Date
    Dec 2003
    Posts
    3,980

    Default

    Hi,

    Look for this line in formmail.php (aprox line 1249):

    Code:
    **$results = "realname: ".$SPECIAL_VALUES["realname"].BODY_LF.$results;
    and comment it out like this:

    Code:
    // **$results = "realname: ".$SPECIAL_VALUES["realname"].BODY_LF.$results;
    With invalid email addresses, FormMail doesn't try to validate email addresses.* If someone puts garbage into your form, then that will get sent through.

    If you like, we can add some basic checking to the next version.

    *

  5. #5
    Join Date
    Dec 2005
    Location
    New York / USA
    Posts
    7

    Default Re: Script Works, Email Contains No Information

    Hi Russell,
    My Formmail.php is fresh, how can I get information send by users?

    The goodtemplate and errortemplate is working fine, but I don't have any information in mailbox.

    Here is the information I recieve in the email:

    REMOTE_HOST=
    REMOTE_ADDR=207.38.187.173
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    AUTH_TYPE=
    REMOTE_USER=

    Thanks a milion
    Ricardo

  6. #6
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Script Works, Email Contains No Information

    Hi,

    Have you started with our sample form? Get that working and model your form on that.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #7
    Join Date
    Dec 2005
    Location
    New York / USA
    Posts
    7

    Default Re: Script Works, Email Contains No Information

    Hello, Russell!
    My God, I'm 48 hours here without sleep...

    Yes, I'm using all template suplied by tectite.com

    Everything is working, just 2 problens.

    1-Email Contains No Information, like what happened to JakeForest.
    2-verifyimg not working, but I just send email to the hosting asking for php upgrade.

    Thanks
    Ricardo

  8. #8
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Script Works, Email Contains No Information

    Hi,

    OK, I'm confused.

    You've got our sample form, you've entered your name, email address, selected a favourite color, and vehicles you can operate, and entered a message.

    When you hit submit you get an email which is blank. Is that what you're saying?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  9. #9
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Script Works, Email Contains No Information

    Hi,

    BTW, JakeForest modified FormMail in a way he should not have. That's what caused his problem. If you haven't done that, then you won't have a that problem.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  10. #10
    Join Date
    Dec 2005
    Location
    New York / USA
    Posts
    7

    Default Re: Script Works, Email Contains No Information

    Hi,
    It's true, I get only report, Please take a look.

    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">

    I did not changes on $SPECIAL_FIELDS =

    What is the fild do I need change to receive the messages?

    Thank you for your patience!
    It's my first time working with forms and php

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Thanks for the great script, but I am having issues...
    By darknightjedi in forum FormMail Subscription Support
    Replies: 12
    Last Post: 26-Aug-2004, 08:08 PM
  2. Great script but.....
    By Remosz in forum FormMail Subscription Support
    Replies: 3
    Last Post: 23-Mar-2004, 10:47 PM
  3. Encrypting information before emailing
    By kjstavern in forum FormMail Subscription Support
    Replies: 9
    Last Post: 05-Mar-2004, 05:11 AM
  4. More information
    By crabtree in forum FormMail Subscription Support
    Replies: 1
    Last Post: 03-Mar-2004, 10:01 AM
  5. Formmail works fine, but no e-mail
    By Wiggy in forum FormMail Subscription Support
    Replies: 1
    Last Post: 08-Jan-2004, 04:05 AM

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
  •