webERP Forum
SMTP Settings - Field Too Short/Small - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: SMTP Settings - Field Too Short/Small (/showthread.php?tid=7963)



SMTP Settings - Field Too Short/Small - VortecCPI - 12-08-2017

Table: emailsettings
Field: host

Too short for our server name. I had to increase it to 50.


RE: SMTP Settings - Field Too Short/Small - TurboPT - 12-08-2017

This is just a tip/note about changing DB field sizes that I've run across before...(to avoid 'surprises')

Although not the case for the host input field in the related script, but know that other scripts:
  1. may have maxlength and/or size attributes applied to the associated input field.
  2. may also have "validation checks" on the input length too. (after form submits)
...so realize that there may be other areas/items to adjust to match changes made to DB field sizes.


RE: SMTP Settings - Field Too Short/Small - VortecCPI - 12-08-2017

Thank you and a very good point.

I also had to increase the size for fieldname in reportfields to support our Sales Commission report.