• Resolved amaroak

    (@amaroak)


    Hi, i created a form with the option to upload a file, with the max size 1gb, but when i tested without a file, the email arrive perfectly, but when i upload a file too large, the email does not arrive

    I have set

    upload_max_filesize = 1024M

    post_max_size = 1024M
    max_execution to 300 seconds

    https://pastebin.com/SkbF0CPn

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @amaroak,

    Trust you are doing good and sorry to know that you are experiencing this issue.

    I did a couple of tests using the form that you shared but was unable to replicate the issue on a test website. Can you please share the upload file with which you replicated the issue so that we could give a closer look? Please share the file using Google Drive or Dropbox in your next response.

    We look forward to hearing back from you.

    Kind Regards,
    Nebu John

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @amaroak ,

    We haven’t heard from you for some time now, so it looks like you don’t have more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

    Thread Starter amaroak

    (@amaroak)

    Hi @wpmudevsupport14

    sure, I’ll upload it to Drive, but it’s a 12mb PDF document.

    Drive

    Only when I upload this document or something heavier, the email with the attached document does not arrive.

    Thanks

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @amaroak

    I have made multiple test with your form and file on my lab site and each time I received email with attatchment. I also made a test with email body and I used {upload-1} there and attachment is there.

    Apart from upload_max_filesize = 1024M which you have set up manually possibly, can you double-check two things:

    • ask your hosting is there some limit when it comes to upload_max_filesize
    • in you form edit mode, edit upload field, go to settings tab and scoll to this section “Filesize limit” Let us know what is the note there and value (not placed by you but value from note similar which I see on my site -> We’ve detected your server will allow uploads up to 134MB in size currently. You can set a lower limit than this using the input below, however if you want uploads of more than 134MB you’ll need to adjust this in your server’s PHP.ini settings.)

    Kind Regards,
    Kris

    Thread Starter amaroak

    (@amaroak)

    Hi @wpmudevsupport13

    I managed to fix the issue, it was due to the limitations of apache, the Postfix mail server, where the limit was 5mb, so I raised it to 20mb, since all mails bounce when exceeding 25mb.

    Postfix mail server limit the mailbox size

    Open file /etc/postfix/main.cf and modiby this lines

    mailbox_size_limit = 30000000
    message_size_limit = 10240000

    Save and restart postfix mail server:

    # /etc/init.d/postfix restart

    I hope it can be of help to someone, you can close the Ticket, thank you very much anyway, greetings and good weekend.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘the notification email doesn’t arrive when the attached file is too large’ is closed to new replies.