<p dir="ltr">Shai,</p>
<p dir="ltr">I just took a very similar case a step further by letting the user add &quot;email text&quot; and then I use that token as well.  This would let you have people use some of there own text. </p>
<p dir="ltr">-Steve</p>
<div class="gmail_quote">On Feb 24, 2013 12:32 PM, &quot;Shai Gluskin&quot; &lt;<a href="mailto:shai@content2zero.com">shai@content2zero.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div><div>Nancy, Steve, and All,<br><br>Thanks much, Nancy.<br><br></div>For those looking at Nancy&#39;s export, note that it requires another module in addition to rules: workflow. So you couldn&#39;t just import that rule at all unless the workflow module was installed.<br>

<br></div>Also note that what it is trying to do is different from what I was asking.<br><br></div>I&#39;ve got my functionality working! Hurray, with your help!<br><br> First let me explain that I changed my requirements after pondering the power of the Rules module. Instead of prepopulating the contact form, Rules sends the email on its own.<br>

<br></div>I added a field to the &quot;resources&quot; content type whose machine name is field-announce-resource. It&#39;s a numeric integer list type. The two choices I&#39;ve set are: <br>0|No<br>1|Yes<br><br></div>In the rule, I added a condition to check to see if the value of that field is &quot;1&quot;. If it is, then the email goes out, if not, then it doesn&#39;t.<br>

<br></div><div>Here is the help text I added on the Announce field:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">If you choose &quot;Yes,&quot; an email will be sent from you and signed by you to <a href="mailto:listserve@example.com" target="_blank">listserve@example.com</a>. It will include the title and URL of this resource. The email will successfully post to the listserve only if your account email here on <a href="http://example.com" target="_blank">example.com</a> and your subscription email to the listserve are the same.<br>

</blockquote></div><div><br></div>I had originally wanted the person posting the resource to be able to customize the outgoing email, but I decided an email would be better.<br><br></div>Here is the text for the automated email, which is put in via the rules UI:<br>

<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Folks,<br><div><br>I have just posted a new resource at <a href="http://example.com" target="_blank">example.com</a>: [node:title]<br>

<br>Check it out at: [node:url]<br><br>[node:author]<br></div></blockquote><div><br></div><div>One thing I was very please about was setting up the from address of the email. I used:<br><br><span style="font-family:courier new,monospace">[node:author] &lt;[node:author:mail]&gt;</span><br>

<br></div><div> which produces a well formed from Email address with the full name and email address. (Note that on the site in question the username is always the persons full name.) Using the Rules&#39; &quot;data selection&quot; tool you can only select one value, so you would have to use: <span style="font-family:courier new,monospace">[node:author:mail]. <font face="arial,helvetica,sans-serif">Using the &quot;direct input&quot; method I could get the &quot;from&quot; field to be exactly as I wanted it.</font><br>

</span></div><div><br></div><div>Rules is amazing. There is some learning curve, but it is worth it.<br><br></div><div>What follows below is my rule exported. In order to properly import on your site (and of course you can change it using the rules UI after you&#39;ve imported it), you need to have a content type called &quot;resource&quot; it needs to have a field whose machine name is &quot;field-announce-resource&quot; which is a numeric field where &quot;1&quot; means &quot;send the email&quot;.<br>

<br></div><div>Thanks everyone for all the help.<br><br></div><div>Shai<br></div><div><div><div><br><br><span style="font-family:courier new,monospace">{ &quot;rules_post_to_listserve_about_new_resource&quot; : {<br>    &quot;LABEL&quot; : &quot;Post to listserve about new resource&quot;,<br>

    &quot;PLUGIN&quot; : &quot;reaction rule&quot;,<br>    &quot;TAGS&quot; : [ &quot;email&quot;, &quot;resources&quot; ],<br>    &quot;REQUIRES&quot; : [ &quot;rules&quot; ],<br>    &quot;ON&quot; : [ &quot;node_insert&quot; ],<br>

    &quot;IF&quot; : [<br>      { &quot;node_is_of_type&quot; : {<br>          &quot;node&quot; : [ &quot;node&quot; ],<br>          &quot;type&quot; : { &quot;value&quot; : { &quot;resource&quot; : &quot;resource&quot; } }<br>

        }<br>      },<br>      { &quot;data_is&quot; : { &quot;data&quot; : [ &quot;node:field-announce-resource&quot; ], &quot;value&quot; : &quot;1&quot; } }<br>    ],<br>    &quot;DO&quot; : [<br>      { &quot;mail&quot; : {<br>

          &quot;to&quot; : &quot;<a href="mailto:listserve@example.com" target="_blank">listserve@example.com</a>&quot;,<br>          &quot;subject&quot; : &quot;New Resource at Example.com&quot;,<br>          &quot;message&quot; : &quot;Folks,\u000D\u000A\u000D\u000AI have just posted a new resource at <a href="http://example.com" target="_blank">example.com</a> called: [node:title]\u000D\u000A\u000D\u000ACheck it out at: [node:url]\u000D\u000A\u000D\u000A[node:author]\u000D\u000A\u000D\u000A&quot;,<br>

          &quot;from&quot; : &quot;[node:author] \u003C[node:author:mail]\u003E&quot;,<br>          &quot;language&quot; : [ &quot;&quot; ]<br>        }<br>      }<br>    ]<br>  }</span><br><div class="gmail_extra"><br></div>

</div></div></div></div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div>