<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help with email script in Fusion Manage Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3765441#M7803</link>
    <description>&lt;P&gt;This is what I tried for building it into a variable. &amp;nbsp;This was also unsuccessful. &amp;nbsp; Let me know if you see anything wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FIELD1 holds an email adress&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var email = new Email();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var emailbody= getPrintView('EMAIL');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var owner = Security.loadUser (userID);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var ownerEmail = owner.email;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var totalEmail = item.FIELD1 + ';' + ownerEmail;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;email.to = totalEmail;&lt;BR /&gt;email.subject = 'Estimate';&lt;BR /&gt;email.body = emailbody;&lt;BR /&gt;email.send();&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I use email.to = ownerEmail or email.to = item.FIELD1 it works fine. &amp;nbsp;I have not been able to put these together.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2013 20:21:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-30T20:21:45Z</dc:date>
    <item>
      <title>Help with email script</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3765301#M7801</link>
      <description>&lt;P&gt;I have a question regarding an email script.&amp;nbsp; I need to email a print view of a workspace to two individuals.&amp;nbsp; I have no problem with the script for one&amp;nbsp;person but if I try combine two email addresses&amp;nbsp;it will not work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FIELD1 holds an email address&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var email = new Email();&lt;BR /&gt;var emailbody= getPrintView('EMAIL');&lt;BR /&gt;var owner = Security.loadUser (userID);&lt;BR /&gt;var ownerEmail = owner.email;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;email.to = item.FIELD1 +';' + ownerEmail;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;email.subject = ' Estimate';&lt;BR /&gt;email.body = emailbody;&lt;BR /&gt;email.send();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks correct when sending this as a combined variable to a text field.&amp;nbsp; The script shows no errors but does not seem to work.&amp;nbsp; Thanks for any help&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 17:30:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3765301#M7801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-30T17:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with email script</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3765355#M7802</link>
      <description>&lt;P&gt;Scott,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried building out your email address list to a variable first then using that in the email.to field?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 18:52:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3765355#M7802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-30T18:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with email script</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3765441#M7803</link>
      <description>&lt;P&gt;This is what I tried for building it into a variable. &amp;nbsp;This was also unsuccessful. &amp;nbsp; Let me know if you see anything wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FIELD1 holds an email adress&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var email = new Email();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var emailbody= getPrintView('EMAIL');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var owner = Security.loadUser (userID);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var ownerEmail = owner.email;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var totalEmail = item.FIELD1 + ';' + ownerEmail;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;email.to = totalEmail;&lt;BR /&gt;email.subject = 'Estimate';&lt;BR /&gt;email.body = emailbody;&lt;BR /&gt;email.send();&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I use email.to = ownerEmail or email.to = item.FIELD1 it works fine. &amp;nbsp;I have not been able to put these together.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 20:21:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3765441#M7803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-30T20:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with email script</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3765935#M7804</link>
      <description>&lt;P&gt;Scott,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry I was thinking a version past what we’re working with…&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the 8.0 release (next month) you will be able to use comma delimited listing for multiple email address entries.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 13:52:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3765935#M7804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-31T13:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with email script</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3783695#M7805</link>
      <description>&lt;P&gt;I'm having problems with the email script not completing again. &amp;nbsp;It is initiated by a transition. &amp;nbsp;It shows no errors on the script after running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FIELD1 contains an email address.&lt;/P&gt;&lt;P&gt;SE_EMAIL is an advanced print view created in the workspace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var email = new Email();&lt;BR /&gt;var emailbody= getPrintView('SE_EMAIL');&lt;BR /&gt;var owner = Security.loadUser (userID);&lt;BR /&gt;var ownerEmail = owner.email;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;email.to = item.FIELD1;&lt;BR /&gt;email.cc = ownerEmail;&lt;BR /&gt;email.subject = 'Estimate provided';&lt;BR /&gt;email.body = emailbody;&lt;BR /&gt;email.send();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has worked in the previous weeks without the email.cc field. &amp;nbsp;I commented out the email.cc and ran the script again. &amp;nbsp;It still did not complete.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 03:41:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3783695#M7805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-19T03:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with email script</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3784099#M7806</link>
      <description>&lt;P&gt;Scott,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are your results if you do a&lt;/P&gt;
&lt;P&gt;Println(item.FEILD1);&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;Println(ownerEmail);&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 16:20:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3784099#M7806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-19T16:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with email script</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3784638#M7807</link>
      <description>&lt;P&gt;Joe,&lt;/P&gt;&lt;P&gt;&amp;nbsp; The printIn helped to identify the problem, thanks. &amp;nbsp;I moved the field holding the email address to the "unassigned field" column in the workspace. &amp;nbsp;This field is derived from another workspace and has no real value to the workspace except to hold a value for the email script. &amp;nbsp;I have a few of these unassigned fields in the workspace. &amp;nbsp;So apparently the unassigned fields are not available for scripting to access? &amp;nbsp;As soon as I moved it back to "item details field" column in the workspace the script could access the value again.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I use these "unassigned field" items as values in computed field formulas and they can retrived the values where the scripts can't. &amp;nbsp;Is this intended for some reason? &amp;nbsp;Let me know if you need more information. &amp;nbsp;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott Dibben&lt;/P&gt;&lt;P&gt;D3 Technologies&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 02:04:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/help-with-email-script/m-p/3784638#M7807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T02:04:08Z</dc:date>
    </item>
  </channel>
</rss>

