I've been having this problem for quite a long time now and I need help because I'm stuck. I had to switch from default SMTP send function to BaseElements plugin in the solution of my Company because of some issues and advanced functions we needed.
Now every e-mail which is sent from the server with BE_SMTP_Send is received without any date on it.
The server machine is running Windows Server 2016 and FMS 16.
These are the script steps I'm using and they're working fine except for the mentioned problem:
Set Variable [$send_m; Value: BE_SMTP_Server ($out_server; $out_port; $address; $pass)] Set Variable [$send_m; Value: BE_SMTP_Send ( $address; List("email@example.com"; "firstname.lastname@example.org"); "Subjetc of the e-mail" ; "Text of the e-mail"& ¶ & ¶ & "Greetings") These are the info pages about the two functions:
BE_SMTP_Server BE_SMTP_Send I hope somebody could enlighten me a little bit. Thank you in advance.
I've switched from the 360works scriptmaster plugin to baseelements for sending emails. Since then, subject lines that contain spaces have tabs in as well. The tabs are not necessarily in place of the spaces, as subjects with many spaces have just the one tab.
In subjects with just one space however, the tab replaces that space. I hope the picture shows what I'm experiencing.
The header of the email contains the following:
So it appears as though it may be adding a carriage return?
I've just double checked that it is OK with 360works and it is indeed! The only difference I can think of in the way the plugin talks to our exchange server is that BE requires there be no credentials but 360 requires credentials.
I know - stupid question, but the download available on the homepage for BE are OLD (3.1.0 or something) and I would like to use the newest version 3.5.0 (as far as I know) - but where to find those - or is that restricted to sponsors ?
Thank you in advance
KR Lars G
By Andreas T.
I need some help in determining if I am missing something crucial here or if there is a limitation or bug in the function BE_ApplyXSLT from the BaseElements plugin. I am using version 3.3.4 (which is the latest) on Mac OS X 10.11.6 using FileMaker 15 Adv. and 16 Adv.
I am unable to get any output from the transformation, nor any error.
According to the documentation, the command shall return either 0 when successful or an error. Link
In my testing it only returns blank, and gives no error even when no output file is generated. It should not return blank in cany case according to the docs. (I suspect there may be a documentation error and that it actually returns blank when there is no error.)
No error is found using Get(LastError). BE_GetLastError returns 0.
The function format is this:
BE_ApplyXSLT ( xmlPath ; xslt ; outputPath ) Here are the input parameters I have used:
BE_ApplyXSLT ( "/var/folders/y6/1yf76qcs5y91h_w4j27hxp980000gp/T/S10.2/ABC_nota_108.xml" ; BE_ReadTextFromFile ( "/var/folders/y6/1yf76qcs5y91h_w4j27hxp980000gp/T/S10.2/HTMLvisning/Stylesheet_Full.xsl" ); "/var/folders/y6/1yf76qcs5y91h_w4j27hxp980000gp/T/S10.2/output.html" ) I have verified that the files exist and that both the XML and XSLT are valid. All files are in UTF-8. I can transform the XML with this XSLT using other
methods without errors. I have also tried having the XSLT in a variable.
As I understand it, BaseElements uses the libxml2 engine. I have tried doing the transform from the command line directly and it works as it should:
xsltproc -o /var/folders/y6/1yf76qcs5y91h_w4j27hxp980000gp/T/S10.2/output.html /var/folders/y6/1yf76qcs5y91h_w4j27hxp980000gp/T/S10.2/HTMLvisning/Stylesheet_Full.xsl /var/folders/y6/1yf76qcs5y91h_w4j27hxp980000gp/T/S10.2/ABC_nota_108.xml It also works fine using the XMLLib OSAX in AppleScript. Unfortunately, I need Windows support also so I would like to get the BaseElements function to work.
I hope somone can shed some light on what may be going on.
I am hoping someone can help me with the BaseElements "BE_WriteTextToFile" function.
I can only get this to work when I strip out the Volume Name from the path.
So I can't use Get(DesktopPath) or Get(TemporaryPath) etc without removing the volume from the start of those results.
That doesn't seem correct and I think I must be missing something. Or is that the way it is intended?
Does anyone have a simple example of it working?
Who Viewed the Topic