1
Environment:
- Business Central Version: 28.0.4665.48837
- Connector: SMTP
- Affects: All attachments (programmatic and manual UI)
Steps to Reproduce:
- Set up an SMTP email account in BC28
- Open any document (e.g. Posted Sales Invoice)
- Open Email Editor via any method
- Add any attachment — either via UI "Add files" button or programmatically via
EmailMessage.AddAttachment() - Click Send Email
Expected: Email arrives with attachment
Actual: Email arrives without attachment, no error shown
Diagnostic Evidence collected:
Evidence 1 — Attachment record exists correctly in table:
Email Message Attachmenttable has correct recordEmail Message IdGUID matches Email OutboxMessage IdLengthfield shows correct byte count (29721)Datafield has valid Media GUID
Evidence 2 — Works in BC27, broken in BC28:
- Same code, same extension, same SMTP setup worked perfectly in BC27
- Only BC28 build
28.0.4665.48837breaks it
STATUS DETAILS
New
