Version of script: 2.4.2
Dear Klemen,
I hope you are doing well. As usual thank you for your great job!
First i searched whole the forum then i decided to write to you...
My question for today is -> How to deal with images attached inside the message...
For example. Client sends email where attachment (pictures/images) are paste inside the message...
I am using the POP3 FETCHING option so the problem starts when user sends message where are 5 pictures inside... My limit is 2 so the images are marked as removed...
My idea is to increase the number of attachments...
Any better solution for that?
Greetings,
Artur
Images attached inside the message
Moderator: mkoch227
Re: Images attached inside the message
Hello,
If you don't want to save images embedded into message you can disable that in the settings (Settings > Email > Other > Save embedded files as attachments).
If you do want to save these files then you will need to increase the number of attachments allowed.
If you want to do that just for the POP3 fetching script (and not globally), you can edit the inc/mail/hesk_pop3.php file. Just below add something like
If you don't want to save images embedded into message you can disable that in the settings (Settings > Email > Other > Save embedded files as attachments).
If you do want to save these files then you will need to increase the number of attachments allowed.
If you want to do that just for the POP3 fetching script (and not globally), you can edit the inc/mail/hesk_pop3.php file. Just below
Code: Select all
require(HESK_PATH . 'hesk_settings.inc.php');
Code: Select all
$hesk_settings['attachments']['max_number'] =10;
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Images attached inside the message
Thank you Klemen for your express respond!
Yes i need to save those images.
Perfect news that i can change it only for POP3 fetching.
Cant imagine 20 attachment space creating new ticket
I hope there is no limit:)
Thank you very much for it.
I really really appreciate it!
Yes i need to save those images.
Perfect news that i can change it only for POP3 fetching.
Cant imagine 20 attachment space creating new ticket

I hope there is no limit:)
Thank you very much for it.
I really really appreciate it!