In my form which has now migrated to: index.php I changed the file upload size to 16mb in my cpanel (php.ini) allowing users to at least upload a 2mb file via the form. I have tested this three times, first time with a 10mb file and i got this error message:
Fatal error: Allowed memory size of 18874368 bytes exhausted (tried to allocate 5610047 bytes) in /hermes/bosweb/web087/b870/sl.artinvesta/public_html/article_submission/webassist/email/mail_php.php on line 282
second time with a 4mb file and even though the form goes to the submitted page i received nothing in my inbox.
I tried another attachment (1mb) and everything worked fine.