I am using the Entityform module with the Rules module.
When the user submit the form, an email notification is sent out. In the email notification, I want the FROM field to be the user's email address as opposed to the 'site-information' email address.
I couldn't set this with Rules in the Drupal Admin (I can only adjust the 'TO' field) How can I do that by code? or if you have any other idea to have the FROM field varies depending on the user's email address.