Forums

Dynamic mail address (1 post)

  1. LiZharD
    Member
    Posted 3 years ago #

    I'm playing with InTouch plugin (http://adahas.com/work/intouch/) and i would to hack this part:
    if(@mail(get_option('intouch_email'), get_option('intouch_subject'), stripslashes($message), $headers))

    I want replace the variable get_option('intouch_email') with another value that is located into the single template (eg. the author e-mail stored in a custom field)... It is possible pass a variable from a template to function in the plugin and obtain something like this:
    if(@mail($customfield_email'), get_option('intouch_subject'), stripslashes($message), $headers))?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.