We're seeing a reproducible regression in DEFINE MAIL / MAPISendMail() attachment delivery between FWH 26.03 and the current 26.08 build. Same machine, same Outlook profile, same Exchange Online mailbox, same recipient, same file β only the linked FWH library version changes.
Code (unchanged across all tests): harbour LOCAL oMail, lSent
DEFINE MAIL oMail ; SUBJECT cSubj ; TEXT cText ; FILES cSndFile, cSndFile ; FROM USER ; TO MailTo, MailTo
SEND MAIL oMail
lSent := ( oMail:nRetCode == 0 ) // returns 0 (success) in every version tested
Symptom: MAPISendMail() returns SUCCESS_SUCCESS (0) in all versions β the send appears to succeed locally, and Outlook's own Sent Items shows it as sent. But on the recipient side (Outlook, both Windows and Mac clients, mailbox hosted on Exchange Online), the attachment shows as not downloaded, with a "try again later" prompt that never resolves on retry. No attachment ever becomes available to the recipient.
Versions tested (same source, same test, only FWDIR changed):
βββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββ β FWH version β Result β βββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β FWH 25.12 (fwh642512) β Works β attachment delivers and opens normally β βββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β FWH 26.03 (fwh642603) β Works β attachment delivers and opens normally β βββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β FWH 26.08 (current, freshly downloaded) β Fails β attachment stuck undeliverable, every time β βββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββ
What we've ruled out on our end before posting: we diffed mail.ch, tmail.prg, and mapi.c line-by-line between 26.03 and 26.08 β the only changes in mapi.c are the new MapiFillAddressIfEmpty() recipient-address fallback and some GetProcAddress cast cleanups; nothing touches MapiFileDesc/lpszPathName/lpszFileName. We also extracted the compiled mapi.obj from both fivehc64.lib versions directly and confirmed the binary matches that source diff β so whatever changed isn't in the mail-handling source itself. We also confirmed our own application code and the exact TO/FILES call are identical across both builds.
Given the mail-specific source is unchanged, is there anything elsewhere in the 26.09 build (a linked dependency, manifest, or process-wide initialization change) that could affect how Simple MAPI attachments are staged/delivered through Exchange Online β even though MAPISendMail() itself reports success? Happy to provide a Process Monitor trace comparing both builds if that would help narrow it down.
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit