Hello,
I have a rule set up that sends an email to the value of an email widget field. When this email arrives it is sent from the system default email address. How do I change this so the email sender is the person who created the node ?
Thanks for any help you can give.
Comments
Comment #1
whitingx commentedIs it possible to dynamically set the system default email ?
Thanks very much.
Comment #2
fagoIsn't therea from field in the action's configuration form?
Comment #3
whitingx commentedWhen I get to the 'Select an action to add' section I choose;
Node > Send email to the value of an email widget fieldThis then allows me to add in replacement fields that dynamically populate the email depending on what the user has entered into the form.
The option;
System > Send a mail to an arbitrary mail addressDoes have a from field in the action configuration form but this doesn't allow me to dynamically populate the email message.
Is it possible to copy the code from the second option (arbitrary email) into the first (email widget) ? If so, where does this code go ? In the actions.inc file ?
Thanks very much for the help with this.
Comment #4
fagoWhich version are you using? Beta5?
There should be a field for setting the "'Sender'" in the "System > Send a mail to an arbitrary mail address" action.
Comment #5
whitingx commentedThere is a field for setting 'Sender' in the
System > Send a mail to an arbitrary mail addressaction but I cannot then pull items from the relevant CCK fields. I can only seem to do this using the
Node > Send email to the value of an email widget field.I need to somehow combine the functionality of these two options, is this possible ?
Thanks.
Comment #6
klausiThis should work by using token replacements in the "Sender" configuration field. [node:field_email_example] or something like that.
Comment #8
mitchell commentedUpdated component.