I saw a past post regarding changing the default From field of the emialed form. I too would like to do something similar and believe it can be done but I cant quit figure out the syntax to make it work.
I want to change the "php-Snow Removal Time Sheets" to the data that was selected in the drop down box 'Contractor'
This way at a glance without opening the email I will see who submitted their forms. At times I may get 50 to 100 emails over a weekend. With this, I can set a rule in my outlook to send the forms from each contractor to their respectable outlike mail folder.
mail("rob@perficut.net","php-Snow Removal Time Sheet","Form data:
Thanks for all your help. Great Form! Keep up the good the work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You will need something like this:
mail("rob@perficut.net",$contractor,"Form data:
From the look of it you are using version 3.0 and the variables are not strainght forward but look more like this:
$_POST['field_1']
You will just need to identify the variable with the information you want as the subject and make the appropriate change in the processor.php file.
Let me know if you still need help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I saw a past post regarding changing the default From field of the emialed form. I too would like to do something similar and believe it can be done but I cant quit figure out the syntax to make it work.
I want to change the "php-Snow Removal Time Sheets" to the data that was selected in the drop down box 'Contractor'
This way at a glance without opening the email I will see who submitted their forms. At times I may get 50 to 100 emails over a weekend. With this, I can set a rule in my outlook to send the forms from each contractor to their respectable outlike mail folder.
mail("rob@perficut.net","php-Snow Removal Time Sheet","Form data:
Thanks for all your help. Great Form! Keep up the good the work.
http://us3.php.net/manual/en/function.mail.php
You will need something like this:
mail("rob@perficut.net",$contractor,"Form data:
From the look of it you are using version 3.0 and the variables are not strainght forward but look more like this:
$_POST['field_1']
You will just need to identify the variable with the information you want as the subject and make the appropriate change in the processor.php file.
Let me know if you still need help.