Add mail attachment download support for 2dph integration #2

Merged
eSlider merged 1 commits from feat/mail-download-for-2dph into main 2026-08-19 12:08:04 +01:00
Owner

Summary

  • add DownloadMailAttachment() to the canonical OnlyOffice mail client
  • keep auth cookies in NewClient() so mail addon download handlers work
  • cover the new path with unit tests for cookie-backed auth and attachment download

Test plan

  • go test ./...
## Summary - add `DownloadMailAttachment()` to the canonical OnlyOffice mail client - keep auth cookies in `NewClient()` so mail addon download handlers work - cover the new path with unit tests for cookie-backed auth and attachment download ## Test plan - `go test ./...`
eSlider added 1 commit 2026-08-19 12:05:53 +01:00
Add mail attachment download support for 2dph integration.
Release Please / Release Please (push) Skipped
Release / GoReleaser (push) Skipped
Tests / Test (Go 1.25) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Tests / Test (Go 1.25) (pull_request) Successful in 50s
Tests / Test (Go stable) (pull_request) Successful in 51s
1ef0670624
This gives go-onlyoffice a cookie-backed attachment download path so 2dph can reuse the canonical OnlyOffice client instead of keeping a local mail adapter.
eSlider merged commit 65cd3f5c74 into main 2026-08-19 12:08:04 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/go-onlyoffice#2