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

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (/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 09:17 AM

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 09:58 AM

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 11:24 PM

Thank you and a very good point.

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