• Hello,

    I have a relatively simple task, that I cannot for the life of me find an answer to.

    I have a site for musicians. Each musician has his own profile. There has to be a contact form on each profile. When using this contact form it of course has to send an email to the musician. But how do I set the recipient email dynamically for the form?

    I was thinking that there might be a filter that returned the email address before it was send.
    Something like:

    function set_correct_email()
    {
       return $author->email 
    }
    
    Add_filter(CF7_set_recipient_email, "set_correct_email")

    However I cannot find any such filter. Really hope somebody can help me!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘How to set recipient dynamically?’ is closed to new replies.