I am trying to add an additional line to the config file for different emails. For example in the config file for emails, I would like to add two more define statements as shown below (highlighted).
Then in my comments form I can then change <cms:send_mail from=k_email_from_sales to=k_email_to_2 subject='Comment Posted'>
</cms:send_mail>
Would this work?
The reason why I want to define additional emails is so that different databound forms for each department can have their respective emails targeted for them.
Thanks.
// 13.
// Your Email address. Will be used in contact forms.
define( 'K_EMAIL_TO', 'person_1@domain.com' );
// 14.
// Will be used as the sender of messages delivered by contact forms to the address above.
define( 'K_EMAIL_FROM', 'admin@domain.com' );
// 13_b.
// Your Email address. Will be used in contact forms.
define( 'K_EMAIL_TO_2', 'person_2@domain.com' );
// 14_b.
// Will be used as the sender of messages delivered by contact forms to the address above.
define( 'K_EMAIL_FROM_SALES', 'sales@domain.com' );
Then in my comments form I can then change <cms:send_mail from=k_email_from_sales to=k_email_to_2 subject='Comment Posted'>
</cms:send_mail>
Would this work?
The reason why I want to define additional emails is so that different databound forms for each department can have their respective emails targeted for them.
Thanks.
// 13.
// Your Email address. Will be used in contact forms.
define( 'K_EMAIL_TO', 'person_1@domain.com' );
// 14.
// Will be used as the sender of messages delivered by contact forms to the address above.
define( 'K_EMAIL_FROM', 'admin@domain.com' );
// 13_b.
// Your Email address. Will be used in contact forms.
define( 'K_EMAIL_TO_2', 'person_2@domain.com' );
// 14_b.
// Will be used as the sender of messages delivered by contact forms to the address above.
define( 'K_EMAIL_FROM_SALES', 'sales@domain.com' );