+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: mail_options Exclude not working for me

  1. #1
    Join Date
    Jun 2012
    Posts
    5

    Default mail_options Exclude not working for me

    I get the fields that should be excluded by mail_options in the body of the email. The relevant input line is:
    Code:
    <input type="hidden" name="mail_options" value="Exclude=email;realname" />
    as per the sample form (this happens in both my form and the sample form).

    This seemed odd, so for now I've just changed the input names and derived values for those fields to at least have slightly more human readable names:
    Code:
    <input type="hidden" name="required" value="EmailAddress:Your email address,Name:Your name" />
    <input type="hidden" name="derive_fields" value="email=EmailAddress,realname=Name" />
    <input type="text" name="Name" />
    <input type="text" name="EmailAddress" />
    <textarea name="Message" rows="10" cols="50"></textarea>
    Any clues on where I should be looking? It seems strange that it wouldn't even work in the sample form.

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: mail_options Exclude not working for me

    are there two mail_options fields?

    html only lets u have 1

  3. #3
    Join Date
    Jun 2012
    Posts
    5

    Default Re: mail_options Exclude not working for me

    So, in a form on an html page I can exclude just one or the other of the currently specified realname or email? I think I'll stick with leaving them in the body of the email for now, it's sort of useful having them as a reminder of who wrote the message in immediate proximity to their message.

  4. #4
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: mail_options Exclude not working for me

    u can exclude any number of fields - u just list them separated by ;

  5. #5
    Join Date
    Jun 2012
    Posts
    5

    Default Re: mail_options Exclude not working for me

    Yeah, that's what I would expect, yet when I run the sample form - which includes those two excludes - a message containing the excluded items in the message body is delivered.

  6. #6
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: mail_options Exclude not working for me

    wot's the url for ur form?

  7. #7
    Join Date
    Jun 2012
    Posts
    5

    Default Re: mail_options Exclude not working for me

    Here's the sample form

    Example of output:

    FullName: Firstname Lastname
    EmailAddr: testingtesting123@yopmail.com
    contact: Y
    colors: blue
    vehicles: Car,Plane
    mesg: Lorem ipsum

  8. #8
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: mail_options Exclude not working for me

    where in that sample output is realname and email?

    they look excluded to me...

    if u also want FullName and EmailAddr excluded, add them to the list.

  9. #9
    Join Date
    Jun 2012
    Posts
    5

    Default Re: mail_options Exclude not working for me

    I assumed they were being defined via:
    Code:
    <input type="hidden" name="derive_fields" value="email=EmailAddr,realname=FullName" />
    I was mistaken though obviously.

  10. #10
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: mail_options Exclude not working for me

    derive_fields creates fields from other fields

    mail_options Exclude prevents fields (no matter how they are created) from being shown in the email.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Content appearing twice with "mail_options" exclude.
    By borealis in forum Community Support
    Replies: 2
    Last Post: 05-Apr-2009, 05:52 PM
  2. Replies: 5
    Last Post: 29-Oct-2008, 01:45 PM
  3. Exclude field help
    By tgunnerson in forum Community Support
    Replies: 4
    Last Post: 17-Jan-2007, 10:02 PM
  4. Exclude Option
    By zeuseason in forum FormMail Subscription Support
    Replies: 2
    Last Post: 16-Sep-2004, 09:32 PM
  5. using Exclude
    By moreview in forum FormMail Subscription Support
    Replies: 5
    Last Post: 28-May-2004, 02:26 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