Emails sent with empty description :(

This plugin allows you to report an issue in MantisBT by sending an email to a particular mail account

Moderators: Developer, Contributor

Post Reply
hichamly
Posts: 2
Joined: 19 Jul 2017, 16:52

Emails sent with empty description :(

Post by hichamly »

hello everyone,

i have installed mantis and Email Reporting plugin successfully, everything is working great, just the body of the email is not showing in mantis after sending it to the specified email address, the description is empty and the note section is empty too, can someone tell me if the email i'm sending needs to have a specific format ? how can i specify what to be shown in description and in notes ?

thx in advance , and plz excuse my bad English
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Emails sent with empty description :(

Post by SL-Gundam »

If the email body has any text then there should always be something in the resulting description or note in Mantis.
If this is not the case then something did not go as intended
Please activate debug mode on the EmailReporting configuration page and add the raw_msg file here so that we check it out and see whats going wrong

What version of MantisBT are you running?
What version of EmailReporting are you running?
hichamly
Posts: 2
Joined: 19 Jul 2017, 16:52

Re: Emails sent with empty description :(

Post by hichamly »

hello ,
I have
MantisTB 2.1.0
EmailReporting 0.10.0-DEV

-------------------------------------------------------------------
Debug output memory usage
Location: Mail API - Finished __construct
Runtime in seconds: 0
Current memory usage: 11.29 MiB / 128M
Peak memory usage: 11.36 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.5 MiB / 128M

array(12) {
["enabled"]=>
int(1)
["description"]=>
string(12) "Bug_Mail_ABB"
["mailbox_type"]=>
string(4) "POP3"
["hostname"]=>
string(11) "10.14.X.X"
["port"]=>
int(110)
["encryption"]=>
string(4) "None"
["ssl_cert_verify"]=>
int(0)
["erp_username"]=>
string(11) "test mantis"
["erp_password"]=>
string(8) "aHBzMDAx"
["auth_method"]=>
string(4) "APOP"
["project_id"]=>
int(17)
["global_category_id"]=>
int(1)
}

Debug output memory usage
Location: Mail API - Start process mailbox
Runtime in seconds: 0.0003
Current memory usage: 11.29 MiB / 128M
Peak memory usage: 11.41 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.5 MiB / 128M

Debug output memory usage
Location: Mail API - Start process single email
Runtime in seconds: 0.0078
Current memory usage: 11.32 MiB / 128M
Peak memory usage: 11.41 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.5 MiB / 128M

Debug output memory usage
Location: Mail API - Single email retrieved from mailbox
Runtime in seconds: 0.0084
Current memory usage: 11.33 MiB / 128M
Peak memory usage: 11.41 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.5 MiB / 128M

Mailbox: Bug_Mail_ABB
Message: Mail debug directory does not exist or is not writable.


Debug output memory usage
Location: Mail API - Start Mail Parser
Runtime in seconds: 0.0084
Current memory usage: 11.33 MiB / 128M
Peak memory usage: 11.41 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.5 MiB / 128M

Debug output memory usage
Location: Mail Parser - Start parse
Runtime in seconds: 0.0084
Current memory usage: 11.34 MiB / 128M
Peak memory usage: 11.42 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.5 MiB / 128M

Debug output memory usage
Location: Mail Parser - mimeDecode initiated
Runtime in seconds: 0.0085
Current memory usage: 11.34 MiB / 128M
Peak memory usage: 11.44 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.5 MiB / 128M

Debug output memory usage
Location: Mail Parser - mimeDecode finished
Runtime in seconds: 0.009
Current memory usage: 11.36 MiB / 128M
Peak memory usage: 11.45 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.5 MiB / 128M

Debug output memory usage
Location: Mail Parser - Start parse structure
Runtime in seconds: 0.0091
Current memory usage: 11.35 MiB / 128M
Peak memory usage: 11.45 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.5 MiB / 128M

Debug output memory usage
Location: Mail API - Finished Mail Parser
Runtime in seconds: 0.0104
Current memory usage: 11.34 MiB / 128M
Peak memory usage: 11.48 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.75 MiB / 128M

Debug output memory usage
Location: Mail API - Parsed single email
Runtime in seconds: 0.0105
Current memory usage: 11.34 MiB / 128M
Peak memory usage: 11.48 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.75 MiB / 128M

Mailbox: Bug_Mail_ABB
Message: Mail debug directory does not exist or is not writable.


Debug output memory usage
Location: Mail API - Start add bug
Runtime in seconds: 0.0105
Current memory usage: 11.34 MiB / 128M
Peak memory usage: 11.48 MiB / 128M
Current real memory usage: 11.5 MiB / 128M
Peak real memory usage: 11.75 MiB / 128M

Mailbox: Bug_Mail_ABB
Message: Reporter: 51 - mantis@XXXX.com --> Issue ID: #155


Debug output memory usage
Location: Mail API - Finished add bug
Runtime in seconds: 0.0606
Current memory usage: 11.84 MiB / 128M
Peak memory usage: 12.22 MiB / 128M
Current real memory usage: 12.25 MiB / 128M
Peak real memory usage: 12.5 MiB / 128M

Debug output memory usage
Location: Mail API - Start processing attachments
Runtime in seconds: 0.0606
Current memory usage: 11.84 MiB / 128M
Peak memory usage: 12.22 MiB / 128M
Current real memory usage: 12.25 MiB / 128M
Peak real memory usage: 12.5 MiB / 128M

Mailbox: Bug_Mail_ABB
Message: Monitor: 54 - test.mantis@XXXX.com --> Issue ID: #155


Debug output memory usage
Location: Mail API - Finished processing attachments
Runtime in seconds: 0.0724
Current memory usage: 11.87 MiB / 128M
Peak memory usage: 12.22 MiB / 128M
Current real memory usage: 12.25 MiB / 128M
Peak real memory usage: 12.5 MiB / 128M

Debug output memory usage
Location: Mail API - Finished process single email
Runtime in seconds: 0.0725
Current memory usage: 11.86 MiB / 128M
Peak memory usage: 12.22 MiB / 128M
Current real memory usage: 12.25 MiB / 128M
Peak real memory usage: 12.5 MiB / 128M

Debug output memory usage
Location: Mail API - Finished process mailbox
Runtime in seconds: 0.0731
Current memory usage: 11.85 MiB / 128M
Peak memory usage: 12.22 MiB / 128M
Current real memory usage: 12.25 MiB / 128M
Peak real memory usage: 12.5 MiB / 128M


Operation successful

Description: Bug_Mail_ABB
Mailbox type: POP3
Hostname: 10.14.X.X
TCP port (optional): 110
Connection encryption: None
Verify SSL certificate: 0
Username: test mantis
Password: ******
Authentication method: APOP



thank you in advance :)
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Emails sent with empty description :(

Post by SL-Gundam »

Thank you

thats the debug log

It says that the "Mail debug directory does not exist or is not writable."

Please correct this and try to reproduce this issue again
It should write files in the directory in question starting with raw_msg and parsed_msg
Please add those files to this issue
Ancy
Posts: 46
Joined: 30 Jun 2017, 11:10

Re: Emails sent with empty description :(

Post by Ancy »

How did you reach till this much ? I am stuck with configuration of email plugin. :)
menwa
Posts: 1
Joined: 03 Apr 2018, 10:37

Re: Emails sent with empty description :(

Post by menwa »

bonjour à tous svp jai un probleme avec la configuration du plugin emailreporting je n' arrive pas à le configurer pour qu'il puisse envoyer les mails merci (herve du Cameroun)
Post Reply