Jump to content

How to Increase Attachment Size


grantwood

Recommended Posts

Hello,

 

I have WHMCS 4.3.1 installed under a typical web hosting account, and I have enabled email piping. The current PHP upload limit is 2 MB, and the piping is set up correctly (attachments under 2 MB are accepted). I tried adding the following lines to the .htaccess file:

 

php_value upload_max_filesize 20M

php_value max_execution_time 120

php_value max_input_time 120

 

However, any emails that have attachements totaling more than 2MB are bounced. The error reads in part:

 

pipe to |/path/to/whmcs/pipe/pipe.php

generated by example@yourdomain.com

Local delivery failed

 

Where should I put the .htaccess file? I have tried: 1) the root web directory, 2) the root whmcs directory, and 3) the whmcs/pipe directory.

 

Regards,

Sean

Edited by grantwood
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated