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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

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

'Email Submission To' field too short


Go to End


4 Posts   1686 Views

Avatar
Viv

Community Member, 30 Posts

22 October 2008 at 8:06am

I'm not sure if this is a bug or I am missing something. I would like to send to two recipients in my contact form rather than just one. However it seems that I can only have 50 characters in this field - any more get removed. Unfortunately one of the email addresses is quite long so by the time I add both addresses separated by commas, the length is over the limit.

Can I increase the allowable size of the field somehow? Any help would be much appreciated.

Avatar
Viv

Community Member, 30 Posts

22 October 2008 at 8:18am

Edited: 22/10/2008 8:18am

I have made a fix at my hosting end by adding a MailGroup containing the required extra email address. This should work OK. Would still be interested to know of how to do it at the CMS end though.

Avatar
Iain_vdw

Community Member, 22 Posts

18 November 2008 at 3:43am

This is easily solved in the database. Login to your phpmyadmin (or similar).

Find the table "UserDefinedForm", edit field "EmailTo", and change the "varchar" limit to about 200-300 depending on the amount of e-mailaddresses you need to enter.

Et voila! It's solved :) Hope this helps you!

Avatar
Viv

Community Member, 30 Posts

18 November 2008 at 8:17am

Thanks very much for the help. Should be able to sort that no problem.