I have been trying to create a contact form auto-responder with a select list, one of the main sources I used is this
The only change I did to his code is obviously the variables and changed
add_action( 'wpcf7_mail_sent', 'contact_form_autoresponders' );
to
add_action( 'wpcf7_mail_sent', array($this, 'contact_form_autoresponders' ), 5);
I have been trying to create an automated email responder for any options out of the selected 'select' menu.
I have been importing another file.php which contains all the string variables I need with "<<
all the variables in file.php looks like this:
$some_variable =<<<EOT multiple
lines
here
EOT;
Since My email responses are in Hebrew I want the responded mail to be sent right to left and I am looking all over the place for a way to align my string to the right and add some URL marks and can't find it.
I tried adding this to the Headers and String head and it didn't work out for me
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"
direction="rtl">
Any help would be appreciated.