Results 1 to 5 of 5

Thread: Does "alert_to" form field use "AT_MANGLE" feature?

  1. #1
    Join Date
    Dec 2006
    Posts
    2

    Question Does "alert_to" form field use "AT_MANGLE" feature?

    Does the "alert_to" form field make use of the "AT_MANGLE" feature?

    It doesn't look like it does, but then, if it doesn't, then there's an un-mangled email address in my form..?

    Thank you!

  2. #2
    Join Date
    Jun 2006
    Posts
    214

    Default Re: Does "alert_to" form field use "AT_MANGLE" feature?

    formmail.php lines 3014-3024

    PHP Code:
    // DEF_ALERT can be any email address and it's independent of
        // the TARGET_EMAIL setting.
        //
        // Example:
        //        webmaster@yourhost.com
        //
        // If you set DEF_ALERT, you can do some initial tests with your browser.
        // Just open this URL:
        //        http://www.your-site.com/formmail.php?testalert=1
        //
    //define("DEF_ALERT","you@yoursite.com");       // example - straight email address 

  3. #3
    Join Date
    Dec 2006
    Posts
    2

    Default Re: Does "alert_to" form field use "AT_MANGLE" feature?

    You mean, use DEF_ALERT instead of alert_to (which would presumably leave an unmangled email address)?

  4. #4
    Join Date
    Jun 2006
    Posts
    214

    Default Re: Does "alert_to" form field use "AT_MANGLE" feature?

    Quote Originally Posted by jennyp
    You mean, use DEF_ALERT instead of alert_to (which would presumably leave an unmangled email address)?
    I have mine set for DEF_ALERT with a plain email address with no mangle. If there is a problem I get an email from the adddress I set in DEF_ALERT. The normal address it is sent to is set up in the formmail.ini file in the root. The

    PHP Code:
    Added a special test parameter to confirm that the DEF_ALERT setting
     
    is working.  The DEF_ALERT address is no longer subject to
     
    verification through TARGET_EMAIL.  You can now specify any address
     
    * for DEF_ALERT.  ("alert_to" from a form is still tested against
     
    TARGET_EMAIL). 
    In my form the ini "me" does not need to be mangled
    HTML Code:
    <input name="recipients" value="me" type="hidden" />
    If you are concerned about your email address being in the form, as you should be, since it can be read by anything or anybot if in an htm file, use formmail.ini. The ini is just plain text with formmail.ini name and extension and looks like this.
    Code:
    [email_addresses]
    me = "webmaster@mysite.com"

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

    Default Re: Does "alert_to" form field use "AT_MANGLE" feature?

    Hi,

    Does the "alert_to" form field make use of the "AT_MANGLE" feature?
    Yes, alert_to is subject to un-mangling, so you can hide the email address in that field.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. auto add feature
    By jamesh3 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 17-Jun-2004, 06:44 AM
  2. Problem with Form Field
    By joe3366 in forum FormMail Subscription Support
    Replies: 5
    Last Post: 13-Jun-2004, 09:02 PM
  3. "Internal Server Error": What'd I do wrong?
    By sgodun in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-May-2004, 12:01 AM
  4. Spiders and "The form has an internal error"
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 13-May-2004, 09:11 PM
  5. Email contains no "mesg"
    By xuric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 19-Apr-2004, 08:17 PM

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
  •