Results 1 to 6 of 6

Thread: Having trouble with the CC & BCC

  1. #1
    Join Date
    Mar 2004
    Posts
    6

    Cool Having trouble with the CC & BCC

    Hi,

    I am trying to get the new version 3.00 to work.
    I have it working now but i want to use the CC or BCC feature.
    I have a form were i can choose a person, see code
    Code:
    <tr> 
      <td>For whom is this e-mail:</td>
      <td>
    	  <select name="cc" type="text">
    	  <option value="" selected>Select a person...</option>
    	  <option value="">----------------------------------</option>
    	  <option value="MyEMail_at_Somewhere.nl">Aschwin van Loon</option>
    	</select>
      </td>
    </tr>
    when I press the submit button, I only get the mail from my recipients, but not from the CC or BCC that i selected.

    What am I doing wrong?

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

    Default Re: Having trouble with the CC & BCC

    Hi,

    The first thing to confirm is whether you can get a CC or BCC with a normal (non select) specification:
    Code:
    <input type="hidden" name="cc" value="you@yoursite.com" />
    (Make sure you rename the "select" field to something else to do this test).

    Also, are you getting error alerts (have you set DEF_ALERT)? If $TARGET_EMAIL doesn't match the email address you specify in "cc" or "bcc" it won't send the mail (but you will get an alert).

    Once you've got "cc" working from a normal hidden field, it should work from the select field.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Mar 2004
    Posts
    6

    Cool Re: Having trouble with the CC & BCC

    Thanx for the replt.
    I got it working now

  4. #4
    Join Date
    Mar 2004
    Posts
    6

    Cool Re: Having trouble with the CC & BCC

    I Have got another question.
    Is it possible to send to multiple recipients, like in Outlook
    email1@testserver.nl; email2@testserver.nl; email3@testserver.nl; etc.

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

    Default Re: Having trouble with the CC & BCC

    Hi,

    Yes. Just list them with commas:
    Code:
    <input type="hidden" name="cc" value="email1,email2,email3" />
    For a SELECT field, you'd do this in an option value:
    Code:
    <option value="email1,email2,email3">The Bosses</option>
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  6. #6
    Join Date
    Mar 2004
    Posts
    6

    Cool Re: Having trouble with the CC & BCC

    Thanx again for the answer

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Still CC and BCC problems
    By nreuter in forum FormMail Subscription Support
    Replies: 4
    Last Post: 19-Feb-2005, 07:52 PM
  2. Formail, Turbomailer & mass mailing
    By EPierre in forum FormMail Subscription Support
    Replies: 2
    Last Post: 10-Feb-2005, 09:28 PM
  3. formmail trouble html or php file not sure
    By putertfix in forum FormMail Subscription Support
    Replies: 5
    Last Post: 25-Oct-2004, 08:11 AM
  4. Sample Auto Responder Form & Template
    By russellr in forum FormMail
    Replies: 0
    Last Post: 04-Sep-2004, 10:15 PM
  5. Mail Trouble
    By madref in forum FormMail Subscription Support
    Replies: 3
    Last Post: 30-Mar-2004, 10:15 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
  •