This morning I deleted several Draft emails that had been created automatically some time back when generating, and abandoning, invoices. Since doing that, SuiteCRM cannot collect any new incoming email. I have checked the sugarcrm.log and discovered the following:
Thu Aug 11 11:01:49 2016 [13125][44bc535b-103d-dc6e-00c6-54a3d594bf4d][FATAL] Exception in Controller: Database failure. Please refer to suitecrm.log for details.
Thu Aug 11 11:10:15 2016 [19734][44bc535b-103d-dc6e-00c6-54a3d594bf4d][FATAL] INSERT INTO email_cache (ie_id,mbox,subject,fromaddr,toaddr,senddate,message_id,mailsize,imap_uid,msgno,recent,flagged,answered,deleted,seen,draft) VALUES ('e8398365-d505-b74a-d41a-54a67d686ca2', 'Trash', '2015-07-16-No-One-Off-Fixes', '\"James Kimbley (Google Docs)\" <d+MTAxMjE3MjQyOTExMDAwMTA4MjQ0-MTEzMzgwODc0NjcwOTcxMTQ3ODY2@docs.google.com>', 'ben.lloyd1@gmail.com', '2015-07-29 07:28:24', '<-kZwKxsdZWSMDATg24gyCw@notifications.google.com>', 46731, '1891', '34', '0', '0', '0', '0', '1', '0') Query Failed: INSERT INTO email_cache (ie_id,mbox,subject,fromaddr,toaddr,senddate,message_id,mailsize,imap_uid,msgno,recent,flagged,answered,deleted,seen,draft) VALUES ('e8398365-d505-b74a-d41a-54a67d686ca2', 'Trash', '2015-07-16-No-One-Off-Fixes', '\"James Kimbley (Google Docs)\" <d+MTAxMjE3MjQyOTExMDAwMTA4MjQ0-MTEzMzgwODc0NjcwOTcxMTQ3ODY2@docs.google.com>', 'ben.lloyd1@gmail.com', '2015-07-29 07:28:24', '<-kZwKxsdZWSMDATg24gyCw@notifications.google.com>', 46731, '1891', '34', '0', '0', '0', '0', '1', '0'): MySQL error 1406: Data too long for column 'fromaddr' at row 1
Thu Aug 11 11:10:15 2016 [19734][44bc535b-103d-dc6e-00c6-54a3d594bf4d][FATAL] Exception in Controller: Database failure. Please refer to suitecrm.log for details.
There are dozens of entries like the above.
Two things to note:
- The database is running, the rest of SuiteCRM seems to be running normally, and I can browse the emails table via phpMyAdmin
- I cannot find the suitecrm.log file mentioned in the error message.
Please help - email is critical to my operations here.