[GH-ISSUE #1] undefined function mime_content_type() #2

Closed
opened 2026-02-25 23:39:33 +03:00 by kerem · 1 comment
Owner

Originally created by @poblabs on GitHub (Sep 29, 2019).
Original GitHub issue: https://github.com/HaschekSolutions/opentrashmail/issues/1

This is a fun project, thanks for creating it! Today when I was playing around with it in a Docker container, I used Outlook to send an attachment of a screenshot saved in JPG, and when I received the email in opentrashmail, I get the subject and body. When I click on the attachment link I received:

Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /var/www/opentrashmail/web/api.php:34 Stack trace: #0 {main} thrown in /var/www/opentrashmail/web/api.php on line 34

I'm not sure how else to help, my docker troubleshooting skills aren't the best. Let me know how I can assist.

Originally created by @poblabs on GitHub (Sep 29, 2019). Original GitHub issue: https://github.com/HaschekSolutions/opentrashmail/issues/1 This is a fun project, thanks for creating it! Today when I was playing around with it in a Docker container, I used Outlook to send an attachment of a screenshot saved in JPG, and when I received the email in opentrashmail, I get the subject and body. When I click on the attachment link I received: ``` Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /var/www/opentrashmail/web/api.php:34 Stack trace: #0 {main} thrown in /var/www/opentrashmail/web/api.php on line 34 ``` I'm not sure how else to help, my docker troubleshooting skills aren't the best. Let me know how I can assist.
kerem closed this issue 2026-02-25 23:39:33 +03:00
Author
Owner

@geek-at commented on GitHub (Sep 29, 2019):

Thanks! The docker image was missing the fileinfo php package. new docker image is building and should be available in a few minutes

<!-- gh-comment-id:536276518 --> @geek-at commented on GitHub (Sep 29, 2019): Thanks! The docker image was missing the fileinfo php package. new docker image is building and should be available in a few minutes
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#2
No description provided.