<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged email</title>
<link>https://overflow.efficy.io/?qa=tag/email</link>
<description>Powered by Question2Answer</description>
<item>
<title>MAILS.D_RECEIVED date different depending how the email have been created/saved. Why ?</title>
<link>https://overflow.efficy.io/?qa=7074/mails-dreceived-different-depending-email-created-saved</link>
<description>&lt;p&gt;I have a customer with the strange behaviour on date time of MAILS.D_RECEIVED.&lt;br&gt;
I know that &lt;code&gt;D_CREATE&lt;/code&gt; and &lt;code&gt;D_CHANGE&lt;/code&gt;are usually saved in UTC-0 time (or the time zone set on server) because they are auto-generated by GETDATE(). &lt;br&gt;
But the &lt;code&gt;D_RECEIVED&lt;/code&gt; is a bit different especially if you saving/sending email from outlook or have email saved by AutoMail Uploader.&lt;/p&gt;

&lt;p&gt;Outlook saved it as it is , &lt;code&gt;D_RECEIVED&lt;/code&gt; is same as the email send or received datet time. &lt;br&gt;
The AutoMail Uploader saved it -2 hours, similar to &lt;code&gt;D_CREATE, D_CHANGE&lt;/code&gt;, but the date is not autogenerated (GETDATE()) but more like transformed. &lt;/p&gt;

&lt;p&gt;I've done some dirty grid definition fix to CONVERTUTC if the email has been created by Administartor, if not show it without UTC conversion. &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;td.D_RECEIVED {[&amp;lt;td&amp;gt;
    &amp;lt;a href=&quot;#&quot; data-msg=&quot;edit;&amp;lt;#F=$KEY$;absent=T;context=ATTR&amp;gt;;$ENTITY$&quot;&amp;gt;
        &amp;lt;%If(&quot;&amp;lt;#F=OWNER;context=TEXT&amp;gt;&quot;, value=&quot;%%GetUserName(name='ADMINUSER')&quot;, 
            then=&quot;&amp;lt;#F=$FIELD$;CONVERTUTC=T;emptytext=T;context=TEXT&amp;gt;&quot;,
            else=&quot;&amp;lt;#F=$FIELD$;emptytext=T;context=TEXT&amp;gt;&quot;
        )%&amp;gt;
    &amp;lt;/a&amp;gt;
&amp;lt;/td&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;By doing it I am getting the right values on the grid. But the client and clients users all have still +2 hours on it. &lt;br&gt;
Is there any explanation that you might know or have ?  &lt;br&gt;
I had a call with the client and she shared the screen. We tried to clean the browser cache, use another browser etc. But still, the values are not correct. &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7074/mails-dreceived-different-depending-email-created-saved</guid>
<pubDate>Mon, 15 Jul 2024 14:17:59 +0000</pubDate>
</item>
<item>
<title>How to display refte2 value in a fusionfield into an emailing model</title>
<link>https://overflow.efficy.io/?qa=6987/how-to-display-refte2-value-fusionfield-into-emailing-model</link>
<description>&lt;p&gt;I'm looking for displaying a greeting sentence at the end of my mailing template.&lt;/p&gt;

&lt;p&gt;It is based on the referential civility which is stated as follows:&lt;br&gt;
Code: &quot;M&quot;&lt;br&gt;
Refte1: &quot;M.&quot;&lt;br&gt;
Refte2: &quot;Monsieur&quot;&lt;br&gt;
I have to leave the control field on Refte1 and want to display in my greetings Refte2,&lt;/p&gt;

&lt;p&gt;I tried code like: ed:fusionfield=&quot;DmdPerID:PerCivID:Refte2&quot; without result (ed:fusionfield=&quot;DmdPerID:PerCivID:val&quot; displays &quot;M.&quot;)&lt;/p&gt;

&lt;p&gt;How could i do this?&lt;/p&gt;
</description>
<category>E-Deal developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6987/how-to-display-refte2-value-fusionfield-into-emailing-model</guid>
<pubDate>Tue, 10 Oct 2023 15:48:26 +0000</pubDate>
</item>
<item>
<title>How to customize the files in the admin folder of the wwwroot of Efficy, in order to change the support email?</title>
<link>https://overflow.efficy.io/?qa=6943/customize-files-folder-wwwroot-efficy-change-support-email</link>
<description>&lt;p&gt;How can I customize the following files in the wwwroot of Efficy?&lt;/p&gt;

&lt;p&gt;We need to do that in order to replace &quot;Email of efficy suport&quot; by the customer support email.&lt;/p&gt;

&lt;p&gt;admin/Error.htm&lt;br&gt;
admin/ErrorAjax.htm&lt;br&gt;
admin/ErrorServicy.htm&lt;br&gt;
admin/error/text_html.txt&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6943/customize-files-folder-wwwroot-efficy-change-support-email</guid>
<pubDate>Wed, 26 Jul 2023 07:37:36 +0000</pubDate>
</item>
<item>
<title>[Edition Corporate] Mass e-mailling - Merge field in title</title>
<link>https://overflow.efficy.io/?qa=6389/edition-corporate-mass-e-mailling-merge-field-in-title</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;During the creation process of mass emailling, we can add the content of the message. In this content, we can merge some fields base on the context of this email.&lt;/p&gt;

&lt;p&gt;This merge can be done on the message, but is there any way to merge context information in the title of this mass emailing ? For example, we would like to add the client number in this title.&lt;/p&gt;
</description>
<category>E-Deal support</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6389/edition-corporate-mass-e-mailling-merge-field-in-title</guid>
<pubDate>Wed, 08 Dec 2021 08:53:36 +0000</pubDate>
</item>
<item>
<title>Efficy.sendExternalEmail creates wrong URL - where can we correct the behaviour?</title>
<link>https://overflow.efficy.io/?qa=5832/efficy-sendexternalemail-creates-wrong-correct-behaviour</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;if we you the built in &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Efficy.sendExternalMail(sendFrom, sendTo, sendCc, subject, body, entity, idLinked, sendCode) 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;function and set the parameter sendCode = 'S' &lt;br&gt;
The added URL to the mail follow the Efficy 10 schema:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;https://mydomain.here/efficy.dll/dialog?page=remote/DialogOperation.htm&amp;amp;action=view;Cont;99958&amp;amp;close=T
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;instead it should look like: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;https://mydomain.here/crm/view/Cont/99958
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Where can we change this behavior?&lt;/p&gt;

&lt;p&gt;Thank you &lt;/p&gt;

&lt;p&gt;Tim&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5832/efficy-sendexternalemail-creates-wrong-correct-behaviour</guid>
<pubDate>Wed, 27 Jan 2021 11:11:08 +0000</pubDate>
</item>
<item>
<title>/addmail ... explanation of the Files or Documents arguments</title>
<link>https://overflow.efficy.io/?qa=5071/addmail-explanation-of-the-files-or-documents-arguments</link>
<description>&lt;p&gt;Hello all,&lt;/p&gt;

&lt;p&gt;Does anyone knows how the files or documents arguments are working for the addmail WebRequest, because it is not well documented in EDN (cf link below) ?&lt;/p&gt;

&lt;p&gt;I am trying to use them in order to create an email with an Attachment from the Efficy Interface using the SideBard like the create Instant Email but from the consult of an Entity.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/requests#addmail&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/requests#addmail&quot;&gt;https://help.efficy.com/edn/requests#addmail&lt;/a&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5071/addmail-explanation-of-the-files-or-documents-arguments</guid>
<pubDate>Mon, 25 Nov 2019 13:14:22 +0000</pubDate>
</item>
<item>
<title>&quot;Duplicate(s) found&quot; notification stuck in SYS_MAILS - how to change recipient</title>
<link>https://overflow.efficy.io/?qa=4082/duplicate-found-notification-sysmails-change-recipient</link>
<description>&lt;p&gt;HI all,&lt;/p&gt;

&lt;p&gt;I just found out that quite a  bunch of emails got stuck in SYS_MAILS, because of a recipient that has no email address. The efficy mail dispatcher had to wait until those emails got deleted...&lt;/p&gt;

&lt;p&gt;Those emails were created by the DoubleFinder.&lt;br&gt;
Here is the question: How does the DoubleFinder determine the recipient and can I change this behaviour?&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;

&lt;p&gt;Tim&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4082/duplicate-found-notification-sysmails-change-recipient</guid>
<pubDate>Wed, 03 Apr 2019 07:25:41 +0000</pubDate>
</item>
<item>
<title>How to return K_MAIL when using sendExternalMail()</title>
<link>https://overflow.efficy.io/?qa=3388/how-to-return-kmail-when-using-sendexternalmail</link>
<description>&lt;p&gt;Hi all,&lt;br&gt;
I would like to do something the the newly created email in efficy 10 when I use sendExternalMail() ( - and sendMailToUsers() if also possible).&lt;br&gt;
How can I determine K_MAIL? The online docu offers nothing.&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;

&lt;p&gt;Tim&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3388/how-to-return-kmail-when-using-sendexternalmail</guid>
<pubDate>Thu, 12 Jul 2018 10:49:39 +0000</pubDate>
</item>
<item>
<title>Automated Flexmail e-mailsending</title>
<link>https://overflow.efficy.io/?qa=2697/automated-flexmail-e-mailsending</link>
<description>&lt;p&gt;For a customer we want to send e-mails to contacts in an Efficy-campaign automatically using a scheduled task.&lt;/p&gt;

&lt;p&gt;We want to store some properties in a category in the campaign:&lt;br&gt;
 - Automated sending (boolean)&lt;br&gt;
 - Flexmail message (ID)&lt;br&gt;
 - E-mail subject&lt;br&gt;
 - Status after sending&lt;br&gt;
 - Sender's E-mail&lt;br&gt;
 - Sender's E-mail&lt;br&gt;
 - Reply e-mail&lt;/p&gt;

&lt;p&gt;The scheduled task must check the campaigin if there are contacts with an empty status. If so he can start the sending of the contacts and the message properties to Flexmail by bypassing the &quot;Send personlized e-mail&quot; form.&lt;/p&gt;

&lt;p&gt;Is it possible to bypass this form, so we can let Efficy automatically send mails when a contact is added to a campaign ?&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2697/automated-flexmail-e-mailsending</guid>
<pubDate>Fri, 15 Sep 2017 11:02:09 +0000</pubDate>
</item>
<item>
<title>Automatically assign project when uploading email in Efficy</title>
<link>https://overflow.efficy.io/?qa=2236/automatically-assign-project-when-uploading-email-efficy</link>
<description>&lt;p&gt;The subject of all emails we send to our customers starts with the reference number. This is something we agreed on. &lt;/p&gt;

&lt;p&gt;Is it possible to automatically recognize the reference number in the subject when saving the email in Efficy? Would be great if we can automatically assign the project to the email! &lt;/p&gt;

&lt;p&gt;Thanks for your help!&lt;/p&gt;
</description>
<category>Efficy Integrations</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2236/automatically-assign-project-when-uploading-email-efficy</guid>
<pubDate>Mon, 30 Jan 2017 06:39:53 +0000</pubDate>
</item>
<item>
<title>[Efficy 10] Adding e-mail template with images</title>
<link>https://overflow.efficy.io/?qa=1996/efficy-10-adding-e-mail-template-with-images</link>
<description>&lt;p&gt;Hi All,&lt;/p&gt;

&lt;p&gt;Is there an easy way to convert an e-mail that contains multiple images from Outlook to Efficy template, without the need to place all the images on our website and link to those images?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1996/efficy-10-adding-e-mail-template-with-images</guid>
<pubDate>Tue, 08 Nov 2016 15:46:39 +0000</pubDate>
</item>
<item>
<title>Soap: Inserting an email with attachment via Soap Call</title>
<link>https://overflow.efficy.io/?qa=1589/soap-inserting-an-email-with-attachment-via-soap-call</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;I'm trying to save and email with an attachement in Efficy via soap. &lt;br&gt;
It seems to work fine but when I try to open the attachment ('msg' file) I have the following error:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=15917386851006573239&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Here is my call: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;SOAP-ENV:Envelope xmlns:efficy=&quot;http://www.efficy.com&quot; xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope&quot;&amp;gt;
&amp;lt;SOAP-ENV:Body&amp;gt;
    &amp;lt;efficy:logon database=&quot;PROD&quot; user=&quot;ipacic&quot; password=&quot;TheTable!&quot;/&amp;gt;
    &amp;lt;efficy:api id=&quot;1&quot;&amp;gt;
        &amp;lt;data operation=&quot;impersonateuser&quot; user=&quot;EHO&quot; id=&quot;129&quot;/&amp;gt;
    &amp;lt;/efficy:api&amp;gt;
    &amp;lt;efficy:edit entity=&quot;Mail&quot; key=&quot;0&quot; commit=&quot;true&quot; closecontext=&quot;true&quot;&amp;gt;
        &amp;lt;update tableview=&quot;0&quot;&amp;gt;
            &amp;lt;SUBJECT&amp;gt;This is a test mail&amp;lt;/SUBJECT&amp;gt;     &amp;lt;!--Subject of the email, cann't be changed afterwards by the user--&amp;gt;
            &amp;lt;TITLE&amp;gt;CLIENT NAME: This is a test mail&amp;lt;/TITLE&amp;gt;         &amp;lt;!--This can be a copy of the subject or a customized version, the user can modify this field in Efficy--&amp;gt;
            &amp;lt;OPENED&amp;gt;1&amp;lt;/OPENED&amp;gt;
            &amp;lt;MAILFROM&amp;gt;ppa@vogeleer.be&amp;lt;/MAILFROM&amp;gt;
           &amp;lt;MAILTO&amp;gt;ppa@efficy.com&amp;lt;/MAILTO&amp;gt;
            &amp;lt;MAILCC&amp;gt;&amp;lt;/MAILCC&amp;gt;
            &amp;lt;K_FOLDER&amp;gt;2&amp;lt;/K_FOLDER&amp;gt;      &amp;lt;!--2: Mail received - 3: Mail send--&amp;gt;
            &amp;lt;K_MAILTHREAD&amp;gt;0&amp;lt;/K_MAILTHREAD&amp;gt;  &amp;lt;!--Leave at 0--&amp;gt;
            &amp;lt;D_RECEIVED&amp;gt;04/05/2015 13:50&amp;lt;/D_RECEIVED&amp;gt;
            &amp;lt;MAILBCC&amp;gt;&amp;lt;/MAILBCC&amp;gt;
            &amp;lt;BODY&amp;gt;
                               &amp;lt;![CDATA[                
                                                       &amp;lt;html&amp;gt;
                                                                      &amp;lt;body&amp;gt;
                                                                                     &amp;lt;p&amp;gt;test&amp;lt;/p&amp;gt;
                                                                      &amp;lt;/body&amp;gt;
                                                       &amp;lt;/html&amp;gt;]]&amp;gt;
            &amp;lt;/BODY&amp;gt;       &amp;lt;!--Better to provide this value, it's easier for the user afterwards in Efficy--&amp;gt;
            &amp;lt;HTMLBODY&amp;gt;
                                                       &amp;lt;![CDATA[                
                                                       &amp;lt;html&amp;gt;
                                                                      &amp;lt;body&amp;gt;
                                                                                     &amp;lt;p&amp;gt;test&amp;lt;/p&amp;gt;
                                                                      &amp;lt;/body&amp;gt;
                                                       &amp;lt;/html&amp;gt;]]&amp;gt;
                                                       &amp;lt;/HTMLBODY&amp;gt;
        &amp;lt;/update&amp;gt;
        &amp;lt;insertattachment id=&quot;1&quot; type=&quot;1&quot; path=&quot;C:\Users\ppt\Documents\url.msg&quot;/&amp;gt;
        &amp;lt;updateattachment id=&quot;2&quot; key=&quot;0&quot; encodingkind=&quot;MIME64&quot;&amp;gt;dGVzdA==&amp;lt;/updateattachment&amp;gt;
        &amp;lt;insertdetail id=&quot;3&quot; detail=&quot;Case&quot; detailkey=&quot;627284&quot; maincomp=&quot;false&quot;/&amp;gt;
    &amp;lt;/efficy:edit&amp;gt;
    &amp;lt;efficy:logoff/&amp;gt;
&amp;lt;/SOAP-ENV:Body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Am I doing something wrong? &lt;/p&gt;

&lt;p&gt;KR...&lt;/p&gt;
</description>
<category>Remote API (JSON, SOAP, Node)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1589/soap-inserting-an-email-with-attachment-via-soap-call</guid>
<pubDate>Wed, 04 May 2016 14:29:51 +0000</pubDate>
</item>
<item>
<title>La synchronisation Efficy est elle possible avec Gmail ?</title>
<link>https://overflow.efficy.io/?qa=1419/la-synchronisation-efficy-est-elle-possible-avec-gmail</link>
<description>&lt;p&gt;Est il possible de synchroniser l'agenda Efficy avec l'agenda Gmail&lt;br&gt;
est il possible de réaliser des echanges de mails entre Efficy et Gmail ? (emission et réception) de la meme façon qu'avec Outlook ?&lt;br&gt;
Merci&lt;/p&gt;
</description>
<category>Efficy Integrations</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1419/la-synchronisation-efficy-est-elle-possible-avec-gmail</guid>
<pubDate>Wed, 16 Mar 2016 20:00:40 +0000</pubDate>
</item>
<item>
<title>Is it possible to send all efficy generated emails to only one email address on a test system</title>
<link>https://overflow.efficy.io/?qa=1360/possible-efficy-generated-emails-email-address-test-system</link>
<description>&lt;p&gt;Hi community,&lt;/p&gt;

&lt;p&gt;for testing purposes we would like to redirect all emails from our development efficy system to one email address.&lt;/p&gt;

&lt;p&gt;Currently the SMTP service is switched off. &lt;/p&gt;

&lt;p&gt;Instead of a redirect a whitelist to be sent out.&lt;/p&gt;

&lt;p&gt;Any chance to do this?&lt;/p&gt;

&lt;p&gt;Tim&lt;/p&gt;
</description>
<category>Efficy Installation/Settings</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1360/possible-efficy-generated-emails-email-address-test-system</guid>
<pubDate>Thu, 18 Feb 2016 14:47:43 +0000</pubDate>
</item>
<item>
<title>How to show the scriplet to save mail on MAC</title>
<link>https://overflow.efficy.io/?qa=1127/how-to-show-the-scriplet-to-save-mail-on-mac</link>
<description>&lt;p&gt;How to show the scriplet to save mail on MAC&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1127/how-to-show-the-scriplet-to-save-mail-on-mac</guid>
<pubDate>Wed, 06 Jan 2016 11:42:15 +0000</pubDate>
</item>
<item>
<title>How could one allow to open URL's in the &quot;mail memo&quot;?</title>
<link>https://overflow.efficy.io/?qa=975/how-could-one-allow-to-open-urls-in-the-mail-memo</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;At a client we have the following issue:&lt;/p&gt;

&lt;p&gt;If a user saves an e-mail which contains a URL in Efficy.&lt;br&gt;
Is it possible to open this URL from in the memo field?&lt;/p&gt;

&lt;p&gt;The URL is recognized as  an actual URL but does not open.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Brosens Tom&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=975/how-could-one-allow-to-open-urls-in-the-mail-memo</guid>
<pubDate>Mon, 30 Nov 2015 13:31:04 +0000</pubDate>
</item>
<item>
<title>Efficy 2012 : e-mail template - using K_PUBLICATION in Serverscript</title>
<link>https://overflow.efficy.io/?qa=923/efficy-2012-mail-template-using-kpublication-serverscript</link>
<description>&lt;p&gt;Dear all,&lt;/p&gt;

&lt;p&gt;I recently had to display the field PUBL_CONT.NCOUNT in a Efficy 2012 template (which can not be done with [$=PUBL.CONT.NCOUNT]).&lt;/p&gt;

&lt;p&gt;The issue I had was that I hadn't the K_PUBLICATION value to use it in serverscript (as you only have access to the Contact Context).&lt;/p&gt;

&lt;p&gt;Here is how it has to be done :&lt;/p&gt;

&lt;p&gt;in the e-mail template :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[$RunScript(name=&quot;RetrieveNtCount&quot;, file=&quot;CustomTemplate&quot;, idpubl=&quot;$$GetArgument('k_publication')&quot;)]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then you can access it in serverscript with :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var K_PUBLICATION = Variables.Values('idpubl');
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;For those who need a ready-to-use example :&lt;/p&gt;

&lt;p&gt;in SYS_STORAGE :&lt;/p&gt;

&lt;p&gt;name : CustomTemplate&lt;/p&gt;

&lt;p&gt;text :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function RetrieveNtCount(ContextHandle){

        var K_PUBLICATION = Variables.Values('idpubl');

        var DsEntity = Database.GetMasterDataSet(ContextHandle,0); 
        var K_CONTACT = DsEntity.FieldByName('K_CONTACT').AsString;  

        var EditHandle = Database.OpenEditContextRelation2(ntPubl, ntCont, K_PUBLICATION, K_CONTACT);
        var NCOUNT = false;

        try {
            var DataSet = Database.GetMasterDataSet(EditHandle, 0)
            DataSet.Edit()
            NCOUNT = DataSet.FieldByName('NCOUNT').AsString;

        } finally {
          Database.CloseContext(EditHandle)
        }

        return NCOUNT ; 
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I hope that it will save you some time !&lt;/p&gt;

&lt;p&gt;Geoffrey&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=923/efficy-2012-mail-template-using-kpublication-serverscript</guid>
<pubDate>Mon, 16 Nov 2015 14:56:24 +0000</pubDate>
</item>
<item>
<title>Sending Emails with Efficy with an Attachment</title>
<link>https://overflow.efficy.io/?qa=634/sending-emails-with-efficy-with-an-attachment</link>
<description>&lt;p&gt;I would like to know if there is any way of sending an email with Efficy with an Attachment(s) to it?&lt;/p&gt;

&lt;p&gt;I checked in the EDN but could not find anything.&lt;/p&gt;

&lt;p&gt;I know that some customer are using guest pages to share Efficy document, but the customer don't want guest pages because of high security environment.&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=634/sending-emails-with-efficy-with-an-attachment</guid>
<pubDate>Wed, 12 Aug 2015 15:50:30 +0000</pubDate>
</item>
<item>
<title>Sending a email from a document</title>
<link>https://overflow.efficy.io/?qa=456/sending-a-email-from-a-document</link>
<description>&lt;p&gt;Dear,&lt;/p&gt;

&lt;p&gt;When I try to send an email starting from an attachment on an Efficy document by clicking 'Send by email', I get an error 'The Webpage cannot be displayed'.&lt;br&gt;
When I click to get more details I see that it doesn't recognizes the 'efficy' protocol.&lt;/p&gt;

&lt;p&gt;Is this a setting which is missing?&lt;/p&gt;

&lt;p&gt;gr&lt;br&gt;
Erwin&lt;/p&gt;
</description>
<category>Errors</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=456/sending-a-email-from-a-document</guid>
<pubDate>Wed, 17 Jun 2015 11:37:17 +0000</pubDate>
</item>
</channel>
</rss>