-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When forwarding emails, attachments are not included #4220
Comments
Are you sure you are using the latest FreeScout version? |
Well it's not showing me any updates? I'm seeing the following error in the app logs:
|
What is your OS? Are you able to attach files? |
I'm on Linux. Yes I'm able to attach files; this doesn't happen consistently for all messages either it seems, only for messages with multiple attachments. |
What would you like to know? It seems to be adjusting the variables correctly. The error has the following stacktrace:
|
Add the following debugging code before this line https://github.com/freescout-help-desk/freescout/blob/dist/app/Attachment.php#L155
|
|
Ok this is extremely weird. I was debugging deeper. I added: \Log::error("path=".$path.", name=".$name.", options=".$options); before: $options = $this->parseOptions($options); in And suddenly, the error goes away and forwarding properly adds the attachments. |
The fact that |
It breaks on the second pass of $attachment_copy = $attachment->duplicate(); |
Continuing. It dies in the second time this gets called: $result = Container::getInstance()->make(FilesystemFactory::class)->disk($disk)->putFileAs(
$path, $this, $name, $options
); |
Let us know if you'll find out the reason. |
When I forward messages to another email address, the attachments are not included in the forwarded message. Am I doing something wrong? Is this a setting?
PHP version: 8.2.23
FreeScout version: 1.8.152
Database: MySQL
Are you using CloudFlare: Yes
Are you using non-official modules: Yes
The text was updated successfully, but these errors were encountered: