arnoldle / phplist-plugin-submitByMailPlugin

Elements of a plugin to submit messages to Phplist by mail. In development. Planning for June release.
3 stars 6 forks source link

Blank message body #9

Open flamble-greg opened 8 years ago

flamble-greg commented 8 years ago

Version: 1.0b2.12 phpList: 3.2.3

Whenever I submit a campaign via email, it is processed by the submitByMail plugin, but the message body is not imported. I have tested with HTML and plain text emails, but the message is always blank. The sender and subject are parsed correctly, however.

'MIME text/subtypes allowed for attachments' is set to 'plain,html'.

Please advise.

arnoldle commented 8 years ago

Is SubmitByMail the only active plugin?

If not, please try turning off the other plugins, and check if the problem still occurs.

I doubt that the MIME settings have anything to do with this problem.

Arnold

On Nov 19, 2015, at 1:21 PM, flamble-greg notifications@github.com wrote:

Version: 1.0b2.12 phpList: 3.2.3

Whenever I submit a campaign via email, it is processed by the submitByMail plugin, but the message body is not imported. I have tested with HTML and plain text emails, but the message is always blank. The sender and subject are parsed correctly, however.

'MIME text/subtypes allowed for attachments' is set to 'plain,html'.

Please advise.

— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/9.

arnoldle commented 8 years ago

One other question: Are you seeing any messages in the System Log when you submiit a campaign by email?

Arnold

On Nov 19, 2015, at 1:21 PM, flamble-greg notifications@github.com wrote:

Version: 1.0b2.12 phpList: 3.2.3

Whenever I submit a campaign via email, it is processed by the submitByMail plugin, but the message body is not imported. I have tested with HTML and plain text emails, but the message is always blank. The sender and subject are parsed correctly, however.

'MIME text/subtypes allowed for attachments' is set to 'plain,html'.

Please advise.

— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/9.

flamble-greg commented 8 years ago

Hi Arnold

I have disabled the other plugins, but the problem persists.

The log reports as follows:

It just seems strange that all of the header data (sender, subject etc.) is being processed, but the message body isn't. That's why I thought it could be a MIME problem.

Greg

arnoldle commented 8 years ago

Thanks, Greg. And thank you for verifying that the new version of the plugin does indeed do "username only” POP logins correctly. Without trying to setup my own POP server here (yecchh), I had no way to test the new feature.

About the empty message body, I must confess that I am totally in the dark, since I cannot reproduce the error in either of the two setups that I have working.

It would be almost impossible to try to find the problem by searching through the logic of the plugin. So all I can do is try to ask questions in order to try to pin down the issue.

What PHP are you running? How have you determined that the body of the message is empty? Have you looked through the contents of the Phplist database? Is your Phplist installation configured to use the MySqli functions or some other backend for access? Is the Phplist database MySql or something else?

And you are running on Linux or Unix, right?

Arnold

On Dec 7, 2015, at 3:56 PM, flamble-greg notifications@github.com wrote:

Hi Arnold

I have disabled the other plugins, but the problem persists.

The log reports as follows:

Beginning POP collection of submitted messages. A message with the subject 'Test' was escrowed. POP: 1 messages processed. POP: Unsuccessful or interrupted connections: 0 A message with the subject 'Test' was received and queued. It just seems strange that all of the header data (sender, subject etc.) is being processed, but the message body isn't. That's why I thought it could be a MIME problem.

Greg

— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/9#issuecomment-162677947.

flamble-greg commented 8 years ago

What PHP are you running?

PHP 5.6.9

How have you determined that the body of the message is empty?

It appears empty in phpList before it is sent and also once it comes through to my mail client.

Have you looked through the contents of the Phplist database?

I haven't. Is there something in particular I can check?

Is your Phplist installation configured to use the MySqli functions or some other backend for access?

MySQLi

Is the Phplist database MySql or something else?

MySQL 5.6.25

And you are running on Linux or Unix, right?

Yes, Debian 8.

Is there a way I can increase the logging level to identify at what point the message body is being lost?

Thanks.