It seems this does not do the trick in all instances.

It appears there may be a problem with the text in the fields. I exported to 
text and everything looks fine but some texts truncate with a “?” when the 
email is sent. I have re-typed some of the offending texts and they work fine. 
The strange thing is they are identical, character-to-character, to the texts 
that are truncating in the emails. Could it be something to do with a length 
byte or something else that 4D stores along with the text in the fields?

Cheers,


Paul

> 
> 
> Hi again,
> 
> I just commented out the lines
> 
>  $err:=SMTP_SetPrefs (1;1;0)
> $err:=SMTP_Charset (1;1)
> 
> and it appeared to solve the problem. So it would appear the internet 
> commands' default behavior is different in v15.
> 
> Thanks!
> 
> 
> Paul
> 
>> Le 24 juil. 2017 à 14:19, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com 
>> <mailto:4d_tech@lists.4d.com>> a écrit :
>> 
>> What character set are you using?
>> 
>>> On Jul 24, 2017, at 7:33 AM, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com 
>>> <mailto:4d_tech@lists.4d.com>> wrote:
>>> 
>>> The mails are sent to the desired destination  but the subject and the body 
>>> are often truncated, with a “?” at the end of the subject or body where the 
>>> rest of the text should be. In most cases, the texts are generated 
>>> automatically from records in the database. The subject and body are 
>>> generated automatically. 
>> 
>> **********************************************************************
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html <http://lists.4d.com/faqnug.html>
>> Archive:  http://lists.4d.com/archives.html 
>> <http://lists.4d.com/archives.html>
>> Options: http://lists.4d.com/mailman/options/4d_tech 
>> <http://lists.4d.com/mailman/options/4d_tech>
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com 
>> <mailto:4d_tech-unsubscr...@lists.4d.com>
>> **********************************************************************
> 

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

Reply via email to