I have a form2email script the attachment size is failing. All other parts of the script work perfect
## Deliverables
I have attached my form2email script that works well except it allows the email to still go through even if the attatchment is too large.
The size limit is being ignored and the error page does not come up.
to see the code I have added look on lines<br>
4, 94, 115, 135-139 of my attached file.
If the attachment is larger that what the limit is set to it will still send the email but no attachment. The error won't popup to say it is too large and to try again.
I would like the size attachment to work correct and show the error if it is the incorrect size.