Hi,
I'm facing a problem with sending mail depending of a select box, which name is {theme}.
I tried the code explained in this page ;
http://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2603-how-can-i-send-an-email-to-different-addresses.html
But it's not sending the mail to the desired mail address, I tried to debug and here that's what I get in the 'Data array' :
Did I miss something somewhere ?
Can you help me troubleshooting this problem ?
Thanks in advance
I'm facing a problem with sending mail depending of a select box, which name is {theme}.
I tried the code explained in this page ;
http://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2603-how-can-i-send-an-email-to-different-addresses.html
But it's not sending the mail to the desired mail address, I tried to debug and here that's what I get in the 'Data array' :
Array
(
[option] => com_chronoforms5
[chronoform] => contact_part
[event] => submit
[N_nom] => Untel
[prenom] => Toto
[email] => aa@sd.com
[telephone] =>
[ncompte] =>
[theme] => com
[Nquestion] => Test question
[dropdown17] => francais
[dropdown21] => mail
[captcha] =>
[button18] => Envoyer
[email_to_use] => desired.mail@example.com
)
And in the 'Debug Info' I have that answer :
Array
(
[9] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:, other.mail@mydomain.com //the default one in the mail settings
[2] => Subject:Demande de contact
[3] => From name:Contact
[4] => From email:contact@mydomain.com
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Body:
[...]
Did I miss something somewhere ?
Can you help me troubleshooting this problem ?
Thanks in advance