Images attached inside the message

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
akwil
Posts: 24
Joined: Fri May 24, 2013 10:00 am

Images attached inside the message

Post 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
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Images attached inside the message

Post 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;
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
akwil
Posts: 24
Joined: Fri May 24, 2013 10:00 am

Re: Images attached inside the message

Post 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!
Post Reply