title: Contact Form 7 can't send attachment more than 6MB to email
body: <p><a href="https://i.stack.imgur.com/bp28O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bp28O.png" alt="enter image description here"></a></p>
  
  <p>Attachment is uploaded into server. But, unable to send attachment using contact form to email if file is larger than 6MB. Ajax is loading. 
  I encounter the following errors: </p>
  
  <pre><code> EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v1.4.1 logged this error during the last time it tried to send an email:
  </code></pre>
  
  <p>Mailer: Gmail</p>
  
  <p>Request Entity Too Large</p>
  
  <p>Request Entity Too Large
  Error 413</p>
  
  <p>Here is my setting:</p>
  
  <p>I have increased the following in php.ini:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>      
  upload_max_filesize = 512M
  post_max_size=512M
  max_execution_time=600
  max_input_time=600
  memory_limit=1024M</code></pre>
  </div>
  </div>
  </p>
  
  <p>CF7 file limit: 20MB</p>
  
  <p>I still can't send file to email if more than 6MB. Thanks a lot.</p>