[GH-ISSUE #29] E-Mail not displayed on Webinterface #16

Closed
opened 2026-02-25 23:39:37 +03:00 by kerem · 3 comments
Owner

Originally created by @byteturtle on GitHub (Jul 11, 2021).
Original GitHub issue: https://github.com/HaschekSolutions/opentrashmail/issues/29

Steps to reproduce:

  1. run using docker as described in readme
  2. send e-mail

expected behaviour:

  • e-mail gets saved to disk
  • e-mail gets displayed on webinterface

actual behaviour:

  • e-mail gets saved to disk
  • e-mail doesn't get displayed on webinterface

Starting Open Trashmail
From https://github.com/HaschekSolutions/opentrashmail
6fec905..cc7b184 master -> origin/master
Updating 6fec905..cc7b184
Fast-forward
web/api.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[+] Starting php
[+] Starting nginx
[+] Setting up config.ini
[i] Active Domain(s): mytestdomain.xyz
[i] Setting up dateformat to: 'D.M.YYYY HH:mm'
[+] Starting Mailserver
[i] Starting Mailserver on port 25
2021-07-11 15:13:15,569 - main - DEBUG - Receiving message from: 1.2.3.4
2021-07-11 15:13:15,570 - main - DEBUG - Message addressed from: mysender@example.com
2021-07-11 15:13:15,570 - main - DEBUG - Message addressed to: ['cyclone-angora@mytestdomain.xyz']
2021-07-11 15:13:15,578 - main - DEBUG - Subject: Test

Mailserver and Addresses have been replaced by example.com, mytestdomain.xyz and 1.2.3.4

Originally created by @byteturtle on GitHub (Jul 11, 2021). Original GitHub issue: https://github.com/HaschekSolutions/opentrashmail/issues/29 Steps to reproduce: 1. run using docker as described in readme 2. send e-mail expected behaviour: * e-mail gets saved to disk * e-mail gets displayed on webinterface actual behaviour: * e-mail gets saved to disk * e-mail doesn't get displayed on webinterface Starting Open Trashmail From https://github.com/HaschekSolutions/opentrashmail 6fec905..cc7b184 master -> origin/master Updating 6fec905..cc7b184 Fast-forward web/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [+] Starting php [+] Starting nginx [+] Setting up config.ini [i] Active Domain(s): mytestdomain.xyz [i] Setting up dateformat to: 'D.M.YYYY HH:mm' [+] Starting Mailserver [i] Starting Mailserver on port 25 2021-07-11 15:13:15,569 - __main__ - DEBUG - Receiving message from: 1.2.3.4 2021-07-11 15:13:15,570 - __main__ - DEBUG - Message addressed from: mysender@example.com 2021-07-11 15:13:15,570 - __main__ - DEBUG - Message addressed to: ['cyclone-angora@mytestdomain.xyz'] 2021-07-11 15:13:15,578 - __main__ - DEBUG - Subject: Test Mailserver and Addresses have been replaced by example.com, mytestdomain.xyz and 1.2.3.4
kerem closed this issue 2026-02-25 23:39:37 +03:00
Author
Owner

@faejr commented on GitHub (Aug 1, 2021):

I'm having the same issue, the API keeps responding with Invalid Email address no matter what address I use, but no message is displayed in the frontend about that either.

<!-- gh-comment-id:890534106 --> @faejr commented on GitHub (Aug 1, 2021): I'm having the same issue, the API keeps responding with `Invalid Email address` no matter what address I use, but no message is displayed in the frontend about that either.
Author
Owner

@faejr commented on GitHub (Aug 1, 2021):

Here's the offending line that always turns the $email var into an empty string.
github.com/HaschekSolutions/opentrashmail@cc7b18400a/web/api.php (L11-L11)

<!-- gh-comment-id:890535111 --> @faejr commented on GitHub (Aug 1, 2021): Here's the offending line that always turns the `$email` var into an empty string. https://github.com/HaschekSolutions/opentrashmail/blob/cc7b18400ade61e91d3b366ff88c252f7e3fe27f/web/api.php#L11-L11
Author
Owner

@Dan-Q commented on GitHub (Aug 12, 2021):

Sorry, I reported this in #31 (mine's a dupe). I've put a suggested solution into that issue, which I'm closing now.

<!-- gh-comment-id:897414236 --> @Dan-Q commented on GitHub (Aug 12, 2021): Sorry, I reported this in #31 (mine's a dupe). I've put a suggested solution into that issue, which I'm closing now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentrashmail#16
No description provided.