Page 1 of 1

Images attached inside the message

Posted: Mon Jun 24, 2013 10:09 am
by akwil
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

Re: Images attached inside the message

Posted: Mon Jun 24, 2013 12:18 pm
by Klemen
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

Code: Select all

require(HESK_PATH . 'hesk_settings.inc.php');
add something like

Code: Select all

$hesk_settings['attachments']['max_number'] =10;

Re: Images attached inside the message

Posted: Mon Jun 24, 2013 12:56 pm
by akwil
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 :lol:
I hope there is no limit:)

Thank you very much for it.
I really really appreciate it!