Re: Anyone using Thomas Maul's Email Component in v16.x?

2018-11-29 Thread Fergus via 4D_Tech
I've tested emails for first time in v17 today and am seeing similar symptoms
to OP.

Is there an updated component available and if so, can someone point me to
it?

Cheers.



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Anybody running v17 server on Windows 2008r2?

2018-11-29 Thread Pat Bensky via 4D_Tech
Thanks Randy ... at least I can tell my customer with honesty that there is
a problem with their OS installation and not with 4D!

Pat

On Thu, 29 Nov 2018 at 15:15, Randy Jaynes via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Pat,
>
> We have a couple users still using Windows Server 2008r2.
>
> The only thing we ran into was an issue trying to use PHP Execute to unzip
> some files.
>
> We found this tip
> http://kb.4d.com/assetid=77608 
>
> There is a note at the bottom that says
> In order to properly use PHP in v14 and v15, the Microsoft Visual C++ 2008
> SP1 Redistributable Package (x86) <
> https://www.microsoft.com/en-US/download/details.aspx?id=5582> or .Net
> Framework 3.5 needs to be installed.
>
> I had to use the Server Manager to install the .NET framework and then we
> were good.
>
> Randy
>
> --
> Randy Jaynes
> Senior Programmer and Customer Support
>
> http://printpoint.com  • 845.687.3741 •
> PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 10964
> Please send all email contacts to supp...@printpoint.com  supp...@printpoint.com>
>
>
>
>
>
> > On Nov 29, 2018, at 9:00 AM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com > wrote:
> >
> > And if so, do you have any problems with it?
> >
> > Thanks
> > Pat
> >
> > --
> > *
> > CatBase - Top Dog in Data Publishing
> > tel: +44 (0) 207 118 7889
> > w: http://www.catbase.com 
> > skype: pat.bensky
> > *
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html <
> http://lists.4d.com/archives.html>
> > Options: https://lists.4d.com/mailman/options/4d_tech <
> https://lists.4d.com/mailman/options/4d_tech>
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com  4d_tech-unsubscr...@lists.4d.com>
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Windows Server Hardware Recommendations for 4DServer v17 Application

2018-11-29 Thread Charles Miller via 4D_Tech
How big is data file? You will need this for how much memory. Indexes? I
would also recommend a raid SSD setup.  More memory is always better. If
you want to have your entiore data file in cache you wil need requisite
memory. Also make sure to get Pro versions of SSDs not consumer versions.

Hope this helps?

Regards

Chuck

On Thu, Nov 29, 2018 at 5:33 PM Neal Schaefer via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> We're planning to upgrade to v17 in Q1 this coming year. We're currently
> running our 4DServer v16 r6 application on a Windows 2008r2 server (DELL
> Server PER420 with Xeon CUP E5-2407 v2 @2.40Ghz 2.40 Ghz (2 processors)
> with 32GB RAM, 64-bit). Our budget for the coming year includes funds for a
> new server machine. I'm looking for hardware recommendations based on our
> current users and setup. We average about 45 concurrent users via 4D
> client/server and another 50 - 70 web connections.
>
> 4D doesn't like to make recommendations beyond minimum requirements, so
> I'm wondering if anyone on the list has a similar scenario and could
> recommend processor speed, RAM, etc.
>
> Thanks in advance!
>
> Neal Schaefer
> Director, Product & Content Management Systems
>
> ABC-CLIO
> 130 Cremona Drive, Suite C | Santa Barbara, CA | 93117
> nschae...@abc-clio.com | www.abc-clio.com<
> http://www.abc-clio.com/>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Windows Server Hardware Recommendations for 4DServer v17 Application

2018-11-29 Thread Neal Schaefer via 4D_Tech
We're planning to upgrade to v17 in Q1 this coming year. We're currently 
running our 4DServer v16 r6 application on a Windows 2008r2 server (DELL Server 
PER420 with Xeon CUP E5-2407 v2 @2.40Ghz 2.40 Ghz (2 processors) with 32GB RAM, 
64-bit). Our budget for the coming year includes funds for a new server 
machine. I'm looking for hardware recommendations based on our current users 
and setup. We average about 45 concurrent users via 4D client/server and 
another 50 - 70 web connections.

4D doesn't like to make recommendations beyond minimum requirements, so I'm 
wondering if anyone on the list has a similar scenario and could recommend 
processor speed, RAM, etc.

Thanks in advance!

Neal Schaefer
Director, Product & Content Management Systems

ABC-CLIO
130 Cremona Drive, Suite C | Santa Barbara, CA | 93117
nschae...@abc-clio.com | 
www.abc-clio.com

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF - TEXT CONVERSION

2018-11-29 Thread stardata.info via 4D_Tech

I try

Thanks
Ferdinando

Message: 1
Date: Thu, 29 Nov 2018 03:06:50 +
From: Keisuke Miyako
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: PDF - TEXT CONVERSION
Message-ID:<331e7dbf-2c72-46b2-88e8-c5421be97...@4d.com>
Content-Type: text/plain; charset="utf-8"

it generally fails you when passed a complex PDF (redundant text, etc) but you 
could try:

https://github.com/miyako/4d-component-poppler
https://github.com/miyako/4d-plugin-PDF2TEXT

this might work too (but you would have to research the syntax)

https://github.com/miyako/4d-plugin-gs

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Unusual crash / failure to start 4D - Solved

2018-11-29 Thread Michael McCall via 4D_Tech
Magnus,

Thank you so much. Your suggestion resolved our Danish client issue.  I 
received the following from them this morning:

 
GOOD NEWS – that did it. The conclusion is that region and language have to be 
the same for it to run. I would assume it's only an issue when you want an 
English profile but don’t live in English speaking country.

THANK you very much – I was starting to be a little sad about upgrading the 
hardware and would not being able to use it.


Thank you again for the suggestion and help with this. It would have taken us 
quite a while to have resolved it without your help.

Mike McCall
Facilitate.com


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Anybody running v17 server on Windows 2008r2?

2018-11-29 Thread Randy Jaynes via 4D_Tech
Pat,

We have a couple users still using Windows Server 2008r2.

The only thing we ran into was an issue trying to use PHP Execute to unzip some 
files.

We found this tip
http://kb.4d.com/assetid=77608 

There is a note at the bottom that says
In order to properly use PHP in v14 and v15, the Microsoft Visual C++ 2008 SP1 
Redistributable Package (x86) 
 or .Net 
Framework 3.5 needs to be installed. 

I had to use the Server Manager to install the .NET framework and then we were 
good.

Randy

--
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com  • 845.687.3741 • PrintPoint, Inc 
• 57 Ludlow Lane • Palisades, NY 10964 
Please send all email contacts to supp...@printpoint.com 






> On Nov 29, 2018, at 9:00 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com 
> > wrote:
> 
> And if so, do you have any problems with it?
> 
> Thanks
> Pat
> 
> -- 
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com 
> skype: pat.bensky
> *
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html 
> 
> Options: https://lists.4d.com/mailman/options/4d_tech 
> 
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com 
> 
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: [off-ish] Regex help

2018-11-29 Thread Jeremy Roussak via 4D_Tech
An alternative to ungreedy would be to exclude colons from the strings to be 
matched:

$folderPathMotif:="([^:]*:)"

Jeremy

> On 28 Nov 2018, at 19:27, Peter Bozek via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> On Wed, Nov 28, 2018 at 7:30 PM Chip Scheide via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Thanks Kirk,
>> 
>> According to Wiki :
>> . - matches any single character
>> ( ) - defines a marked subexpression
>> * - matches the preceding element zero or more times
>> so... as I read the definitions...
>> "(.*:)"
>> 
>> match any character(s), before a ":"
>> a file path (on a Mac) is  :  :  ... : 
>> 
>> Match Regex says:
>> "...If you pass arrays, the command returns the position and length of
>> the occurrence in the element zero of the arrays and the positions and
>> lengths of the groups captured by the regular expression in the
>> following elements."
>> 
>> so I would expect(ed)
>> Match regex($folderPathMotif;$File_Path;1;$path_pos;$path_len)
>> 
>> to populate the arrays with each occurrence of ":", as your supplied
>> code appears to do,
>> OR
>> if the Match Regex does not find/report all occurrences of ":" to
>> report the FIRST instance of a ":", not the last.
>> 
> 
> Regex behaves like that because, by default, its matching is greedy, what
> means it tries to match the pattern to as many characters as possible. In
> your case, it tries to find longest run that match pattern .*; - and the
> run consist of all characters up to last :.
> 
> If you want the match stop on first occurrence of : you need to make
> operator * ungreedy by attaching ? to it. If you try pattern (.*?:) it
> should return substring up to first :. While pattern .*: says "find the
> longest run of characters ending with :" pattern .*?: means "find the
> shortest run of characters ending with :
> 
> Size of array is number of matching groups, in your case 1. This is how it
> works, IMHO. If the whole pattern repeats itself several times, you need to
> run Match regex in loop.
> 
> HTH,



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: [off-ish] Regex help

2018-11-29 Thread Chip Scheide via 4D_Tech
Thanks

On Thu, 29 Nov 2018 08:37:42 +, Epperlein, Lutz (agendo) via 
4D_Tech wrote:
> Peter answered already, but if you want to test your regex, you can 
> use e.g.:
>   https://regexr.com/440e2
> this is with Kirk's example.
> 
> You regex looks there:
>   https://regexr.com/440ee
> 
> This is a nice tool which provides explanations for your regex too.
> 
> Regards Lutz
> 
> 
>> -Original Message-
>> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip 
>> Scheide via
>> 4D_Tech
>> Sent: Wednesday, November 28, 2018 7:29 PM
>> To: 4D iNug Technical <4d_tech@lists.4d.com>
>> Cc: Chip Scheide <4d_o...@pghrepository.org>
>> Subject: Re: [off-ish] Regex help
>> 
>> Thanks Kirk,
>> 
>> That will be useful, but mostly I am wondering based on what (very
>> tiny) understanding I have of Regex why the previously posted statement
>> does not do what your loop does.
>> 
>> According to Wiki :
>> . - matches any single character
>> ( ) - defines a marked subexpression
>> * - matches the preceding element zero or more times
>> so... as I read the definitions...
>> "(.*:)"
>> 
>> match any character(s), before a ":"
>> a file path (on a Mac) is  :  :  ... : 
>> 
>> Match Regex says:
>> "...If you pass arrays, the command returns the position and length of
>> the occurrence in the element zero of the arrays and the positions and
>> lengths of the groups captured by the regular expression in the
>> following elements."
>> 
>> so I would expect(ed)
>> Match regex($folderPathMotif;$File_Path;1;$path_pos;$path_len)
>> 
>> to populate the arrays with each occurrence of ":", as your supplied
>> code appears to do,
>> OR
>> if the Match Regex does not find/report all occurrences of ":" to
>> report the FIRST instance of a ":", not the last.
>> 
>> Thanks
>> again
>> Chip
>> 
>> On Wed, 28 Nov 2018 10:16:01 -0800, Kirk Brooks via 4D_Tech wrote:
>>> Chip,
>>> 
>>> I think what you want is to parse the path into its component parts.
>>> 
>>> This this pattern for matching:
>>> 
>>> ([ \w\d-_]+):
>>> 
>>> This will match letters, numbers, spaces, underscores and dashes up to the
>>> semi colon. You will want to use it in a loop like so:
>>> 
>>> $pattern:="([ \\w\\d-_]+):"
>>> $start:=1
>>> While(Match regex($patters;$text;$start;$aPos;$aLen))  //  pass arrays for
>>> pos and len
>>> 
>>> //  $aLen[0]  will be the length of the entire match
>>> 
>>> // $aLen[1] will be the length of the match within the parens
>>> 
>>> APPEND TO ARRAY($aTheParts;Substring($text;$aPos{1};$aLen{1})
>>> 
>>> $start:=$aPos{0}+$aLen{0}  // move up to the next match
>>> 
>>> End while
>>> 
>>> 
>>> On Wed, Nov 28, 2018 at 9:51 AM Chip Scheide via 4D_Tech <
>>> 4d_tech@lists.4d.com> wrote:
>>> 
 can anyone who has a clue help me?
 
 I am looking at some code:
 Match regex($folderPathMotif;$File_Path;1;$path_pos;$path_len)
 
 where:
 ARRAY LONGINT($path_pos;0)
 ARRAY LONGINT($path_len;0)
 $folderPathMotif:="(.*:)"
 and
 File_Path is, well.., a file path on a Mac (so folder separator is ":")
 
 When the above regex runs, $Path_pos and $path_len each have 1 element,
 and that element is a reference to the LAST occurrence of ":" in the
 file path.
 
 Why does the regex not populate the arrays with the location of ALL
 occurrences of ":", or the first occurrence of ":"?
 
 Thanks for any help...
 and off Nug help is fine
 ---
 Gas is for washing parts
 Alcohol is for drinkin'
 Nitromethane is for racing
 
>> *
>> *
 4D Internet Users Group (4D iNUG)
 Archive:  http://lists.4d.com/archives.html
 Options: https://lists.4d.com/mailman/options/4d_tech
 Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
 
>> *
>> *
>>> 
>>> 
>>> 
>>> --
>>> Kirk Brooks
>>> San Francisco, CA
>>> ===
>>> 
>>> *We go vote - they go home*
>>> 
>> *
>> *
>>> 4D Internet Users Group (4D iNUG)
>>> Archive:  http://lists.4d.com/archives.html
>>> Options: https://lists.4d.com/mailman/options/4d_tech
>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>> 
>> *
>> *
>> ---
>> Gas is for washing parts
>> Alcohol is for drinkin'
>> Nitromethane is for racing
>> *
>> *
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> *
>> *
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  

Re: Anybody running v17 server on Windows 2008r2?

2018-11-29 Thread Two Way Communications via 4D_Tech
I am running 4D server v17R2 on Windows Server 2016, on a minimal Amazon Tmicro 
server. (lowest config available)

I must say it performs flawlessly, despite only having 1GB of memory (!) and an 
AMD64 processor…
Response is quite fast, too. Amazing!

Regards,

Rudy Mortier
Two Way Communications bvba 



> On 29 Nov 2018, at 15:00, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> And if so, do you have any problems with it?
> 
> Thanks
> Pat
> 
> -- 
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Anybody running v17 server on Windows 2008r2?

2018-11-29 Thread Pat Bensky via 4D_Tech
And if so, do you have any problems with it?

Thanks
Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: [off-ish] Regex help

2018-11-29 Thread Epperlein, Lutz (agendo) via 4D_Tech
Peter answered already, but if you want to test your regex, you can use e.g.:
https://regexr.com/440e2
this is with Kirk's example.

You regex looks there:
https://regexr.com/440ee

This is a nice tool which provides explanations for your regex too.

Regards Lutz


> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip 
> Scheide via
> 4D_Tech
> Sent: Wednesday, November 28, 2018 7:29 PM
> To: 4D iNug Technical <4d_tech@lists.4d.com>
> Cc: Chip Scheide <4d_o...@pghrepository.org>
> Subject: Re: [off-ish] Regex help
>
> Thanks Kirk,
>
> That will be useful, but mostly I am wondering based on what (very
> tiny) understanding I have of Regex why the previously posted statement
> does not do what your loop does.
>
> According to Wiki :
> . - matches any single character
> ( ) - defines a marked subexpression
> * - matches the preceding element zero or more times
> so... as I read the definitions...
> "(.*:)"
>
> match any character(s), before a ":"
> a file path (on a Mac) is  :  :  ... : 
>
> Match Regex says:
> "...If you pass arrays, the command returns the position and length of
> the occurrence in the element zero of the arrays and the positions and
> lengths of the groups captured by the regular expression in the
> following elements."
>
> so I would expect(ed)
> Match regex($folderPathMotif;$File_Path;1;$path_pos;$path_len)
>
> to populate the arrays with each occurrence of ":", as your supplied
> code appears to do,
> OR
> if the Match Regex does not find/report all occurrences of ":" to
> report the FIRST instance of a ":", not the last.
>
> Thanks
> again
> Chip
>
> On Wed, 28 Nov 2018 10:16:01 -0800, Kirk Brooks via 4D_Tech wrote:
> > Chip,
> >
> > I think what you want is to parse the path into its component parts.
> >
> > This this pattern for matching:
> >
> > ([ \w\d-_]+):
> >
> > This will match letters, numbers, spaces, underscores and dashes up to the
> > semi colon. You will want to use it in a loop like so:
> >
> > $pattern:="([ \\w\\d-_]+):"
> > $start:=1
> > While(Match regex($patters;$text;$start;$aPos;$aLen))  //  pass arrays for
> > pos and len
> >
> > //  $aLen[0]  will be the length of the entire match
> >
> > // $aLen[1] will be the length of the match within the parens
> >
> > APPEND TO ARRAY($aTheParts;Substring($text;$aPos{1};$aLen{1})
> >
> > $start:=$aPos{0}+$aLen{0}  // move up to the next match
> >
> > End while
> >
> >
> > On Wed, Nov 28, 2018 at 9:51 AM Chip Scheide via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> can anyone who has a clue help me?
> >>
> >> I am looking at some code:
> >> Match regex($folderPathMotif;$File_Path;1;$path_pos;$path_len)
> >>
> >> where:
> >> ARRAY LONGINT($path_pos;0)
> >> ARRAY LONGINT($path_len;0)
> >> $folderPathMotif:="(.*:)"
> >> and
> >> File_Path is, well.., a file path on a Mac (so folder separator is ":")
> >>
> >> When the above regex runs, $Path_pos and $path_len each have 1 element,
> >> and that element is a reference to the LAST occurrence of ":" in the
> >> file path.
> >>
> >> Why does the regex not populate the arrays with the location of ALL
> >> occurrences of ":", or the first occurrence of ":"?
> >>
> >> Thanks for any help...
> >> and off Nug help is fine
> >> ---
> >> Gas is for washing parts
> >> Alcohol is for drinkin'
> >> Nitromethane is for racing
> >>
> *
> *
> >> 4D Internet Users Group (4D iNUG)
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: https://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >>
> *
> *
> >
> >
> >
> > --
> > Kirk Brooks
> > San Francisco, CA
> > ===
> >
> > *We go vote - they go home*
> >
> *
> *
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >
> *
> *
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> *
> *
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> *
> *
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sending Attachment

2018-11-29 Thread UKVetDerm via 4D_Tech
Mike

I would change the path to Mac format - our code works with that as Jeffery 
mentioned
Also, the file name and path length need to be short to work - there seemed to 
be a change a few versions back and we had to change our code to meet this 
requirement
We also always send the content type parameter as well - not sure if that is 
important, but the receiver does get the right file

There was a discussion about this answered by Tim Penner when this cropped up 
before, but I can't find it at the moment

HTH

Steve Shaw
UK

On 28/11/2018, 18:08, "4D_Tech on behalf of Jeffrey Kain via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Is SMTP_Attachment expecting a unix-style path? You might try converting it 
to a Mac style path since the 4DIC plug-in is so old. 

See: 
http://doc.4d.com/4Dv15/4D/15.6/Convert-path-POSIX-to-system.301-3817259.en.html

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**