I have a form which is suppose to email TO: , BCC and CC. TO and BCC work (single address) but CC (two addresses) dont work. I have separated the the addresses with a comma.
Any ideas? Debug below.
Thanks
Chumby
From: [mart@ij.com.au]
To: [email]claremont@cooperautomotive.com.au[/email]
CC: [email]mark@cooperautomotive.com.au[/email], [email]accounts@cooperautomotive.com.au[/email]
BCC: [email]martinpchambers@gmail.com[/email]
Subject: Cooper Automotive Online Booking Request
Cooper Automotive Online Booking
Name:
test2 test2
Car Make: test2
Car Rego: 123456
Phone:
123456
Email:
[email]mart@ij.com.au[/email]
Location:
[email]claremont@cooperautomotive.com.au[/email]
Preferred Contact:
email_only
Comments: test2
===
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [booking_firstname] => test2 [booking_surname] => test2 [booking_car_make] => test2 [booking_rego] => 123456 [booking_phone] => 123456 [booking_email] => [email]mart@ij.com.au[/email] [booking_location] => [email]claremont@cooperautomotive.com.au[/email] [preferred_contact] => email_only [booking_comments] => test2 [submit2] => Submit [e282b1064f61920f9d832c09ae915fd4] => 1 [chronoformname] => cooper_booking_form )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from ()mart@ij.com.au to [email]claremont@cooperautomotive.com.au[/email]
9. Debug End
Please try without the space
mark@cooperautomotive.com.au,accounts@cooperautomotive.com.au
Bob
yea... there is no space in the setup, but it shows a space in the debug.
I have put all emails into the BCC and they work fine. Just cant get CC working.
Cheers
Chumby
I just ran a test and it's working OK here using SMTP via the GMail servers.
Bob
I put all the emails into the BCC field with a comma separated and they work fine. Just when I put a comma list in the CC - nothing comes through.
Cheers
Chumby