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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Email Error from User Defined Form


Go to End


991 Views

Avatar
VicfromPerth

Community Member, 8 Posts

8 June 2012 at 4:23pm

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?