Ralph Slooten
582f1f88b2
API: Add endpoint to return all tags in use
2023-09-22 06:55:20 +12:00
Ralph Slooten
aa0af5de32
Update api search docs
2023-09-15 19:08:53 +12:00
Ralph Slooten
ee49149df9
Feature: New search filter [!]is:tagged
...
See #164
2023-09-14 22:30:20 +12:00
Ralph Slooten
9788a01617
Fix: Correctly decode proxy links containing HTML entities (screenshots)
2023-09-06 17:28:48 +12:00
Ralph Slooten
e265d7018e
Fix docblock comment
2023-09-06 16:14:54 +12:00
Ralph Slooten
a37da776d7
Feature: HTML screenshots
...
Resolves #157
2023-09-06 16:14:35 +12:00
Ralph Slooten
69226e91b2
UI: Group message tabs on mobile
2023-08-17 17:04:15 +12:00
Ralph Slooten
d01fb4044e
Feature: Link check to test message links
...
@see #151
2023-08-16 16:59:31 +12:00
Ralph Slooten
8dbc661cb7
Use message ID as key for Message component
2023-08-15 21:32:12 +12:00
Ralph Slooten
bc4b028c39
UI: Set hostname in page meta title to identify Mailpit instance
...
@see #154
2023-08-15 21:31:18 +12:00
Ralph Slooten
7875160aa7
Feature: Workaround for non-RFC-compliant message headers containing <CR><CR><LF>
...
Due to a bug in some common sendmail implementations and PHP >=8.0, message headers sometimes contain `\r\r\n` which is not RFC compliant.
Mailpit will now fix these non-compliant headers. This can be disabled via `--smtp-strict-rfc-headers`
See #87 / #153
2023-08-15 17:13:25 +12:00
Ralph Slooten
149bfa80c2
Fix: Check/set message Reply-To using SMTP FROM
...
Resolves #149 #150
2023-08-06 16:55:58 +12:00
Ralph Slooten
6d2fab1bc6
Docs: Add pagination to swagger search documentation
2023-08-05 16:59:33 +12:00
Ralph Slooten
24fb49d079
Fix: Add basePath to swagger.json if webroot is specified
...
@See #147
2023-07-30 17:35:17 +12:00
Ralph Slooten
c8a2effac4
Add comment to apiv1
2023-07-30 17:14:23 +12:00
Ralph Slooten
f8d514e9e3
Clean up style paths
2023-07-30 17:04:28 +12:00
Ralph Slooten
1922651d41
Feature: HTML check to test & score mail client compatibility with HTML emails
2023-07-30 17:04:06 +12:00
Ralph Slooten
be3979241f
UI: Remove <base />
tag if set in HTML preview
2023-07-16 00:16:45 +12:00
Ralph Slooten
56982798dc
Swagger: Update swagger docs
2023-07-12 17:22:48 +12:00
Ralph Slooten
ac0e7163dd
UI: Pagination support for search, all results
2023-07-12 17:21:51 +12:00
Ralph Slooten
e3e827b180
UI: Wrap HTML source lines
...
Why does Gmail put everything on a single line?!
2023-07-11 16:47:09 +12:00
Ralph Slooten
daf6e453df
UI: Dark mode color adjustments
2023-07-11 16:44:55 +12:00
Ralph Slooten
9cb2c26c6f
UI: Update dark mode loading background color
2023-07-11 16:22:53 +12:00
Ralph Slooten
d39b65deb7
Fix typos
2023-07-09 22:33:47 +12:00
Ralph Slooten
d020861559
Fix styles
2023-06-30 23:10:13 +12:00
Ralph Slooten
6b6de59c47
API: Ignore SMTP relay error when one of multiple recipients doesn't exist
...
RCPT errors will now produce a warning log message rather than return immediate error. See #132
2023-06-30 22:55:26 +12:00
Ralph Slooten
48f22cca1f
Code cleanup
2023-06-30 22:42:33 +12:00
Ralph Slooten
7748846b88
UI: Theme toggler - auto, light and dark themes
2023-06-30 22:42:09 +12:00
Ralph Slooten
497086cb65
API: Set raw message Content-Type to UTF-8
2023-06-30 22:18:39 +12:00
Júnior Messias
4cfde7f947
Theme toggler ( #136 )
...
Add toggler to change theme (light, dark, auto)
2023-06-30 17:13:12 +12:00
Ralph Slooten
70b604e028
Update error message
2023-06-26 17:36:13 +12:00
Ralph Slooten
22a4509b13
Feature: Clearer SMTP error messages
2023-06-26 17:27:41 +12:00
Ralph Slooten
a7ee479f06
Libs: Upgrade node modules
...
Includes changes required for bootstrap5-tags
2023-06-19 16:27:57 +12:00
Ralph Slooten
b9f035790d
UI: More accurate clickable hyperlink logic in plain text messages
...
See #125
2023-06-15 22:07:29 +12:00
Ralph Slooten
35e81e0336
Feature: Convert links into clickable hyperlinks in plain text message content
...
@see 125
2023-06-15 17:15:46 +12:00
Ralph Slooten
5a04534314
Add :key to message in message list
2023-06-15 09:27:26 +12:00
Ralph Slooten
fc89655b7f
UI: Add option to enable tag colors based on tag name hash
...
An experimental option to add tag colors (see #127 ). This will generate a random color for each unique tag
2023-06-14 22:18:51 +12:00
Ralph Slooten
adce75ab8f
UI: Display message tags below subject in message overview
2023-06-13 15:53:18 +12:00
Ralph Slooten
0b391b5c37
Fix error return value
2023-06-03 11:02:53 +12:00
Ralph Slooten
714596a13a
Fix plural
2023-06-02 19:11:10 +12:00
Ralph Slooten
4a88d1fc24
Feature: Add ability to delete or mark search results read
...
@see #119
2023-06-02 17:17:54 +12:00
Ralph Slooten
1b47716f5f
Libs: Update node modules
2023-06-02 08:28:24 +12:00
Ralph Slooten
bee3174c78
Merge branch 'feature/login-auth' into develop
2023-05-30 20:37:23 +12:00
Ralph Slooten
db5d8f672a
Swagger: Update swagger field descriptions, add MessageID
2023-05-30 16:52:39 +12:00
Ralph Slooten
52120abefd
Feature: Add SMTP LOGIN authentication method for message relay
...
See #118
2023-05-30 15:54:26 +12:00
Ralph Slooten
50b5f8667a
Minor UI / CLI updates
2023-05-23 16:07:05 +12:00
Jonas
a121c08dc4
UI: Check for secure context instead of HTTPS ( #114 )
2023-05-23 15:36:42 +12:00
Ralph Slooten
d1edbe73b4
UI: Remove "Noto Color Emoji" from default bootstrap font list
...
@see #92
2023-05-18 09:38:26 +12:00
Ralph Slooten
9670c4e1d5
API: Return blank 200 response for OPTIONS requests (CORS)
2023-05-09 17:11:57 +12:00
Ralph Slooten
1e97e9e21f
Bugfix: Correctly escape JS cid regex
2023-05-05 22:51:17 +12:00
Ralph Slooten
b4a971f552
Minor code changes
2023-05-05 17:21:43 +12:00
Matthias Gliwka
fdc1b05545
Feature: Add allowlist to filter recipients before relaying messages ( #109 )
...
* Bugfix: Don't panic on mails without from line
* Feature: Add allowlist to filter recipients before relaying messages
2023-05-05 15:28:00 +12:00
Ralph Slooten
16bc025fff
API: Set Access-Control-Allow-Headers when --api-cors is set
2023-05-04 22:23:07 +12:00
Ralph Slooten
5f919cc9dd
Feature: Option to ignore duplicate Message-IDs
...
This option (default off) silently ignores any new messages with duplicate Message-IDs. This update includes a new database structure and automatic rebuild of existing data.
2023-05-04 21:48:09 +12:00
Ralph Slooten
225a1e2e2a
Swagger: Update swagger field descriptions
2023-05-04 21:26:27 +12:00
Ralph Slooten
6dca57ba9b
API: Include correct start value in search reponse
2023-05-03 17:20:14 +12:00
Ralph Slooten
60ea473acb
UI: Style Undisclosed recipients in message view
2023-05-02 16:51:07 +12:00
Ralph Slooten
31c0a501e8
Feature: Add Access-Control-Allow-Methods methods when CORS origin is set
...
@See #91
2023-04-25 08:57:16 +12:00
Ralph Slooten
c5a8836b7e
Bugfix: Fix UI images not displaying when multiple cid names overlap
...
Resolves #96
2023-04-24 22:27:57 +12:00
Ralph Slooten
cffbd3f884
Feature: Display clickable toast notifications for new messages
...
Resolves #97
2023-04-24 11:34:43 +12:00
Ralph Slooten
124f1c2bde
Bugfix: If set use return-path address as SMTP from address
2023-04-21 22:30:02 +12:00
Ralph Slooten
126fa66d58
Bugfix: Add API release route again (bad merge)
2023-04-21 17:50:34 +12:00
Ralph Slooten
7c62dca14b
API: Enable cross-origin resource sharing (CORS) configuration
...
This feature allows the setting of the `Access-Control-Allow-Origin` header via `--api-cors`.
@see #91
2023-04-21 12:49:49 +12:00
Ralph Slooten
23370eab0f
Update Swagger documentation
2023-04-21 12:19:12 +12:00
Ralph Slooten
4f5b5e2f02
UI: Display Return-Path if different to the From address
2023-04-21 12:18:01 +12:00
Ralph Slooten
def9602811
UI: Message release functionality
...
When an SMTP relay server is configured, the web UI will display a "Release" button and allow a message to be manually relayed via the SMTP server to selected addresses.
@see #29
2023-04-21 12:17:14 +12:00
Ralph Slooten
04462f76c6
API: Message relay / release
...
This enables a SMTP server to be configured, and messages to be manually "released" via the relay server. Aditionally, messages can be auto-relayed via the SMTP server do Mailpit acts as a form of caching proxy.
@see #29
2023-04-21 12:10:13 +12:00
Ralph Slooten
2752a09ca7
Move logging variable level to logger module
2023-04-21 11:59:26 +12:00
Ralph Slooten
8eed8d92e5
Update swagger comments
2023-04-21 11:55:32 +12:00
Ralph Slooten
9c8329a05c
Feature: Inject/update Bcc header for missing addresses when SMTP recipients do not match messsage headers
...
In order to capture Bcc recipients from some platfoms (eg: Laravel) when the SMTP recipients contain Bcc recipients but are not listed in the message headers, the missing addresses are now added into the message Bcc header. If the Bcc header does not exist then it is created.
Resolves #35
2023-04-15 11:34:31 +12:00
Ralph Slooten
5ed55e58e1
Show swagger curl example before try
2023-04-12 17:04:42 +12:00
Ralph Slooten
84d3384120
Display service listening IPs as 0.0.0.0 when set to default [::]
2023-04-12 16:22:20 +12:00
Ralph Slooten
eba934c0e0
Feature: Mobile and tablet HTML preview toggle in desktop mode
2023-04-03 18:46:40 +12:00
Ralph Slooten
1b798c5514
UI: Tab to view formatted message headers
...
See #71
2023-04-01 17:06:30 +13:00
Ralph Slooten
f16b105d26
API: Include Reply-To in message summary (including Web UI)
...
This adds a new ReplyTo array to to API Message response, and displays in the web UI if set. See #66
2023-04-01 17:05:18 +13:00
Ralph Slooten
5350e2eb08
Feature: OpenAPI / Swagger schema
...
Mailpit now has built-in OpenAPI / Swagger documentation, see #65
2023-03-31 18:44:08 +13:00
Ralph Slooten
3bb9f4162a
Feature: Download raw message, HTML/text body parts or attachments via single button
...
@see #67
2023-03-31 18:44:08 +13:00
Ralph Slooten
2d07683a28
Bugfix: Fix JavaScript error when adding the first tag manually
...
Caused when passing updated prov values via Vue components, see #68
2023-03-31 18:44:08 +13:00
Ralph Slooten
169c476c56
Feature: Rename SSL to TLS, add deprecation warnings to flags & ENV variables referring to SSL
2023-03-31 18:44:06 +13:00
Ralph Slooten
57b0e1666f
Feature: Options to support auth without STARTTLS, and accept any login
...
@see #56
2023-03-31 18:44:06 +13:00
Ralph Slooten
7cb46ba869
Correctly case Cc and Bcc in UI
2023-02-24 21:36:42 +13:00
Ralph Slooten
6efe99ffdf
Move smtpd to server
2023-02-24 21:36:42 +13:00
Ralph Slooten
56999e97e2
UI: Compress SVG icons
2023-02-09 15:21:46 +13:00
Ralph Slooten
d238675011
Bugfix: Restore notification icon
...
Fixes #34
2023-02-09 15:21:08 +13:00
Matthias Fechner
c1694f1a22
Feature: Add Kubernetes API health (livez/readyz) endpoints
...
Kubernetes checks if a pod is ok and if it can retrieve traffic using probes.
This commit add two routes to make a liveness probe and a readiness probe.
2023-01-30 22:17:54 +13:00
Ralph Slooten
06aa7a2dea
Remove redundant offcanvas mixin
2022-12-03 17:21:51 +13:00
Ralph Slooten
2c3c436fc1
UI: Rename "results" to "result" when singular message returned
2022-11-25 19:06:41 +13:00
Ralph Slooten
95dacfc5db
Build: Remove duplicate bootstrap CSS
2022-11-21 21:43:30 +13:00
Ralph Slooten
54635b748a
Bugfix: Delay 200ms to set target="_blank"
for all rendered email links
...
Fixes #22
2022-11-18 13:25:15 +13:00
Ralph Slooten
6bc02fd4d4
Feature: Message tags and auto-tagging
...
See #17
2022-11-13 17:26:29 +13:00
Ralph Slooten
57cfb2611c
Use bytes.NewReader(data) instead of strings.NewReader(string(data))
2022-11-13 17:26:28 +13:00
Ralph Slooten
ba24d145ff
Bugfix: Return empty arrays rather than null for message To, CC, BCC, Inlines & Attachments
...
Bugfix: Return empty arrays rather than null for message To, CC, BCC, Inlines & Attachments
2022-11-13 17:26:17 +13:00
Ralph Slooten
cbc3fe59a8
Feature: Allow custom webroot
...
Allow Mailpit to run on a custom webroot, resolves #19
2022-10-31 22:13:41 +13:00
Ralph Slooten
ab771cf76c
Move utils to subfolder
2022-10-29 10:52:22 +13:00
Ralph Slooten
43bd2a18ea
API: Provide structs of API v1 responses for use in client code
...
See #21
2022-10-21 22:55:15 +13:00
Ralph Slooten
0a13cf8304
Tidy JS code
2022-10-16 11:51:20 +13:00
Ralph Slooten
4ebbdab7c0
Snapshot memory usage first
2022-10-16 11:36:28 +13:00
Ralph Slooten
cea9518b4b
UI mobile tweaks
2022-10-16 10:45:04 +13:00
Ralph Slooten
a9220277d6
Refresh first page after prune when !results
2022-10-16 10:21:57 +13:00
Ralph Slooten
bd45d9dffe
UI: Broadcast "delete all" action to reload all connected clients
2022-10-16 08:37:46 +13:00