Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » 'Email Submission To' field too short

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

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

Page: 1
Go to End
Author Topic: 1458 Views
  • Viv
    Avatar
    Community Member
    29 Posts

    'Email Submission To' field too short Link to this post

    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.

  • Viv
    Avatar
    Community Member
    29 Posts

    Re: 'Email Submission To' field too short Link to this post

    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.

  • Iain_vdw
    Avatar
    Community Member
    22 Posts

    Re: 'Email Submission To' field too short Link to this post

    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!

  • Viv
    Avatar
    Community Member
    29 Posts

    Re: 'Email Submission To' field too short Link to this post

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

    1458 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.