Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: PLCwannabe on February 28, 2022, 12:11:10 AM

Title: Max Email characters?
Post by: PLCwannabe on February 28, 2022, 12:11:10 AM
  Is there a maximum length for emails sent with brx? I'm continually getting a "Buffer overflow" and "Print script caused buffer overflow @00001372 (EMAIL at FileLoggong@2445) " and "attempted string operation was longer than target string and was truncated". I'm attempting to email 4 strings  (512 characters each, but not all characters are used) with a carriage return between each string.
 The sent email is then missing about half of the 4th string.
 What is causing this error?
Title: Re: Max Email characters?
Post by: BobO on February 28, 2022, 12:45:19 AM
  Is there a maximum length for emails sent with brx? I'm continually getting a "Buffer overflow" and "Print script caused buffer overflow @00001372 (EMAIL at FileLoggong@2445) " and "attempted string operation was longer than target string and was truncated". I'm attempting to email 4 strings  (512 characters each, but not all characters are used) with a carriage return between each string.
 The sent email is then missing about half of the 4th string.
 What is causing this error?

I think the email buffer is 1024. You can send file attachments of any size.