Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Email Error from User Defined Form


Reply

344 Views

Avatar
VicfromPerth

8 June 2012 at 4:23pm Community Member, 8 Posts

I have a user defined form with a file upload field, the form submits fine, but when it goes to email I get the following error:

[Notice] Undefined index: jpg
POST /peh/forms-and-brochures/fascia-form/Form

Line 451 in /home/loftcre8/public_html/clients/peh/sapphire/email/Mailer.php

I have checked the mime.types file and jpg is listed in there. Does anyone know how to fix this?