Item9887: MailInContrib does not write to logfile on error

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MailInContrib
Branches: trunk
Reported By: BobCorless
Waiting For:
Last Change By: CrawfordCurrie
After some additional fault diagnosis, it appears the MailInContrib does not write errors to the nominated log file. It writes successes fine, but not errors.

The configure is set: 'onError' => 'log reply delete',

Errors are replied to and emails deleted off the mail server, but no log entry.

-- BobCorless - 25 Oct 2010

Another problem I have encountered is the inclusion of attachments sent through email to the MailInContrib:- although any attachment appears to get saved correctly to the Public folders, the detail in the topic attachments always shows the file size as 0.1K, irrespective of the actual attachment that was processed from the incoming email.

-- BobCorless - 26 Oct 2010

The first problem is due to poor handling of some regexes. Workaround: 'onError' => ' log reply delete ' (note the spaces)

The second problem is a result of the mailin code being unable to determine the size of the attachment, and the store being too stupid to work it out.

-- CrawfordCurrie - 07 May 2014
 
Topic revision: r7 - 07 May 2014, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy