Hi,
I am having a problem with using a dynamic "to" address. I'm using the custom conditional email action with a ModelId. It seems as if {comm.email} doesn't work in the To field (it's just ignored), but it does work in the Template field (see below). comm is the ModelId I'm using. The condition-checker and everything else is working, and an email is sent if I use a hardwired email address instead.
Maybe I'm missing something simple or there is a bug!
L.E.
Here are the debugger messages (email addresses, etc. edited for privacy):
Data Array:
Array
(
[tmpl] => component
[event] => submit
[Itemid] => 147
[option] => com_chronoforms
[view] => form
[comm] => Array
(
[cf_uid] => 6a54529cab3036a368f53c6f422ebf69
[cf_created] => 2012-04-16 18:30:04
[cf_ipaddress] => 98...
[cf_user_id] => 43
[RErequestID] => 3
[RErequestTbl] => joom_chronoforms_data_MaintenanceRequest
[comm_date] => 2012-04-16 18:11:38
[mode] => email
[to] => [email]xxx@indiana.edu[/email]
[to_cc] =>
[from_name] => xr
[from_email] => [email]xr@gmail.com[/email]
[REmsg] =>
[about_unit] => 50
[comm_subject] => RE: Need some work done (MRF#3)
[comm_message] => We'll get to it ASAP!
[comm_notes] =>
[email_sent] => yes
[comm_id] => 55
)
[okToSend] => yes
[comm_comm_id] => 55
)
----
Email errors
No valid To Email address found
Email info
Email send stopped.
From: (website) [email]webmaster@site.com[/email]
To:
Subject: RE: Need some work done (MRF#3)
Email body
comm.to: [email]xxx@indiana.edu[/email] We'll get to it ASAP!
-----
My settings in the action are:
To (required) = {comm.to}
Subject = {comm.comm_subject}
From name = website
from email = [email]webmaster@site.com[/email]
cc = {comm.to_cc}
Reply to name = {comm.from_name}
Reply to email = {comm.from_email}
Template = comm.to: {comm.to} {comm.comm_message}
-----
I am having a problem with using a dynamic "to" address. I'm using the custom conditional email action with a ModelId. It seems as if {comm.email} doesn't work in the To field (it's just ignored), but it does work in the Template field (see below). comm is the ModelId I'm using. The condition-checker and everything else is working, and an email is sent if I use a hardwired email address instead.
Maybe I'm missing something simple or there is a bug!
L.E.
Here are the debugger messages (email addresses, etc. edited for privacy):
Data Array:
Array
(
[tmpl] => component
[event] => submit
[Itemid] => 147
[option] => com_chronoforms
[view] => form
[comm] => Array
(
[cf_uid] => 6a54529cab3036a368f53c6f422ebf69
[cf_created] => 2012-04-16 18:30:04
[cf_ipaddress] => 98...
[cf_user_id] => 43
[RErequestID] => 3
[RErequestTbl] => joom_chronoforms_data_MaintenanceRequest
[comm_date] => 2012-04-16 18:11:38
[mode] => email
[to] => [email]xxx@indiana.edu[/email]
[to_cc] =>
[from_name] => xr
[from_email] => [email]xr@gmail.com[/email]
[REmsg] =>
[about_unit] => 50
[comm_subject] => RE: Need some work done (MRF#3)
[comm_message] => We'll get to it ASAP!
[comm_notes] =>
[email_sent] => yes
[comm_id] => 55
)
[okToSend] => yes
[comm_comm_id] => 55
)
----
Email errors
No valid To Email address found
Email info
Email send stopped.
From: (website) [email]webmaster@site.com[/email]
To:
Subject: RE: Need some work done (MRF#3)
Email body
comm.to: [email]xxx@indiana.edu[/email] We'll get to it ASAP!
-----
My settings in the action are:
To (required) = {comm.to}
Subject = {comm.comm_subject}
From name = website
from email = [email]webmaster@site.com[/email]
cc = {comm.to_cc}
Reply to name = {comm.from_name}
Reply to email = {comm.from_email}
Template = comm.to: {comm.to} {comm.comm_message}
-----