/*****************************************************************************/ /* soyMAIL.c ~ Son Of YahMAIL (ta da!) ~ COPYRIGHT --------- Copyright (C) 2005-2024 Mark G.Daniel Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. soyMAIL may be proctored into existence. # WASD_CONFIG_GLOBAL [DclScriptProctor] 1 /cgiplus-bin/soymail /cgiplus-bin/soymail VERSION HISTORY --------------- 09-FEB-2024 MGD v2.1.0, option [image-inline] add inline attached image(s) config [image-inline] image delay (mS) DraftSave() subject MimeEncIsoString() bugfix; ComposePageRequest() charset setting bugfix; EscapeForJavaScript() unicode 18-AUG-2023 MGD v2.0.8, MessageCollapseLineBreaks() reduce '\r\n\r\n' to '\n' ComposePreviewMessage() add font-family, font-size 05-MAR-2023 MGD v2.0.7, bugfix; MimeDecIsoString() copy intermediate chars TargetBlank() Safari requires ".rel = 'opener'" 13-JAN-2023 MGD v2.0.6, MimeDecParseBody() allow final multipart to be terminated by the multipart boundary (MIME error but ...) 08-JAN-2023 MGD v2.0.5, MtaMsgToFile() change in fwrite() behaviour with VSI C V7.4-001 on OpenVMS IA64 V8.4-2L3 meaning fwrite("",0,1,fp) fails to write a record 23-JUL-2022 MGD v2.0.4, ComposeCharsetAlert() rework accept-charset=".." 05-APR-2022 MGD v2.0.3, PMDF "X-VMS-To:" accomodation 22-APR-2021 MGD v2.0.2, soyMAILexit() SOYMAIL_OPCOM_EXIT OpcomMessage() 19-FEB-2021 MGD v2.0.1, bugfix; get it RIGHT! CallMailMessageContextEnd() 11-FEB-2021 MGD v2.0.0, licensing moved from GPL to Apache-2.0 VAX no longer implemented move to native 64 bit data storage soyMAIL may be proctored into activation maintain list of most recent opened and destination folders ComposePreviewMessage() preview a in-composure message CGILIB CgiLib__ApacheSetSockOpt() both VSI and HP(E) symbols folder listing page default charset is UTF-8 soyMAIL config [charset-default] allows override of above user option [charset-default] allows override of above UTF-8 is the default for folder, options and contacts pages use CgiLibVeeMemContinue() to detect when a (potentially) huge message fails to allocate memory and handle that update TinyMCE to v4.9.4 (the last of the v4 series) bugfix; DEFAULT_ZONE memory leak from multiple missing CallMailMessageContextEnd() after CallMailMessageContext() bugfix; InetMailParseMimeAttrib() span space after equate 26-JUL-2017 MGD v1.8.3, push NEWMAIL notification on non-focused soyMAIL update TinyMCE to v4.6.4 04-NOV-2016 MGD v1.8.2, MimeDecIsoString() ensure it's complete or ignored! standardise "input=file" by jumping though hoops (MSIE) use 'ch' units for compose