• Hello,

    Is it possible to define the target email dynamically?

    I use the YITH request a quote plugin coupled with contact form 7 to generate quote requests. Currently I am setting the target address directly in contact form 7.

    However, I would like to be able to define the target email according to the product present in the quote request. It would be configured on each product thanks to ACF.

    Is it possible to dynamically set, via the functions.php file for example, the CC of the form?

    Thank you in advance for your suggestions or ideas.

    Cordially,
    Alexis

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    If you want to customize email headers in your theme’s functions.php file, the best method would be to use the wpcf7_mail_components filter hook.

    Thread Starter alexiscolombo

    (@alexiscolombo)

    Hello,

    And thank you for your feedback, I will go in this direction.

    I wish you a nice day.

    Cordially,
    Alexis

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Set target email dynamically’ is closed to new replies.