Page 3 of 4

Re: Email Reporting Plugin Setup HOWTO

Posted: 04 Oct 2014, 16:59
by SL-Gundam
mantisemailcheck.sh is not required but is something somebody else build to get it done. So he will have to answer that.

This is the manual for MantisBT: https://www.mantisbt.org/wiki/doku.php/ ... il_queuing
It pertains to scheduling /mantis/scripts/send_emails.php. EmailReporting uses to exact same method so follow that manual and schedule /mantis/plugins/EmailReporting/scripts/bug_report_mail.php

With linux scheduling is usually done using cronjobs. With Windows thats the Task scheduler

Re: Email Reporting Plugin Setup HOWTO

Posted: 24 Nov 2014, 20:38
by Cr0n0x1995
anyone can help me, I have the following error and it is not, have done everything and nothing.
array (size=11)
'enabled' => boolean true
'description' => string 'Email_Test' (length=10)
'mailbox_type' => string 'POP3' (length=4)
'hostname' => string '192.168.1.5' (length=11)
'port' => int 110
'encryption' => string 'None' (length=4)
'erp_username' => string 'jose.malavera@copetran.com.co' (length=29)
'erp_password' => string 'Y3IwbjB4MTk5NQ==' (length=16)
'auth_method' => string 'USER' (length=4)
'project_id' => int 1
'global_category_id' => int 2



Mailbox: Email_Test
Location: Attempt login
[pear_error: message="-ERR Authentication failed." code=-1 mode=return level=notice prefix="" info=""]

Re: Email Reporting Plugin Setup HOWTO

Posted: 28 Nov 2014, 21:58
by SL-Gundam
Just what the error says.

The username and password combination given is incorrect

Re: Email Reporting Plugin Setup HOWTO

Posted: 03 Aug 2017, 14:17
by Ancy
Hi All,
I am trying to add EmailReporting plugin.but when i installed this plugin, login page went off.And i am not able to see anything in webpage.What would it be? If possible is there any step by step procedure for setting up email report plugin?

mantis2.5.1
php7.0.20
mysql 5.5.57

Re: Email Reporting Plugin Setup HOWTO

Posted: 15 Aug 2017, 14:33
by Ancy
Dear there,

When i run bug php file, it has ended up in below error.can someone help me here?

APPLICATION ERROR #400: Database connection failed. Error received from database was #0: PHP Support for database is not enabled.


Much appreciated.

Re: Email Reporting Plugin Setup HOWTO

Posted: 15 Aug 2017, 18:21
by SL-Gundam
It seems your command line php cannot find the php.ini which describes the php extensions that are enabled
I suggest you check the result of phpinfo() through a browser and through the command line to see whats different

Image

Re: Email Reporting Plugin Setup HOWTO

Posted: 18 Aug 2017, 07:51
by Ancy
Our mailbox type is SMTP.is it the reason it fails for me?

Operation NOT successful

Description: check
Mailbox type: POP3
Hostname: xx.xxxxxx.net
TCP port (optional): 110
Connection encryption: None
Verify SSL certificate: 0
Username: ancy
Password: ******
Authentication method: USER

Message: Failed to connect to the mail server


[ Proceed ]

Re: Email Reporting Plugin Setup HOWTO

Posted: 19 Aug 2017, 02:44
by SL-Gundam
your mailbox cannot be SMTP. SMTP is for sending emails. POP3 or IMAP (and some other more specific ones) are used for retrieving mail

Re: Email Reporting Plugin Setup HOWTO

Posted: 24 Aug 2017, 10:14
by Ancy
Dear Soul,

How can i configure the email plugin for IMAP ?

I tried every probabilities and but failed.Could you please help me?

Re: Email Reporting Plugin Setup HOWTO

Posted: 24 Aug 2017, 16:49
by SL-Gundam
get the imap url for your account

Usually its easiest to just set it up in your favorite email client. If it works there you can copy those settings to EmailReporting

Re: Email Reporting Plugin Setup HOWTO

Posted: 28 Aug 2017, 14:50
by Ancy
Dear Soul,

Now i got operation successful.But i was wondering why i am not able to retrieve any emails from the account? As in, there are no issues created after completing the test.What could it be? And how can i resolve it?

Re: Email Reporting Plugin Setup HOWTO

Posted: 08 Nov 2017, 20:59
by jd_rh
Here's the response I am getting from our email configuration test (we use Office 365 for email). I've check that the credentials are correct.

Any suggestions?
Operation NOT successful

Mailbox description: account@ourdomain.com
Mailbox type: IMAP
Mailbox hostname: ssl://outlook.office365.com
Mailbox port (optional): 993
Mailbox connection encryption: SSL
Mailbox username: account@ourdomain.com
Mailbox password: ******
Mailbox authentication method: USER
Mailbox basefolder (optional): INBOX

[pear_error: message="NO, LOGIN failed." code=0 mode=return level=notice prefix="" info=""]

Re: Email Reporting Plugin Setup HOWTO

Posted: 09 Nov 2017, 18:51
by SL-Gundam
Make sure IMAP is enabled for the user account in question
Based on the error it would seem that the username and/or password is incorrect
Try SSL, TLS and STARTTLS (STARTTLS both with port 25 and 993)

Best way to test IMAP is to start a mail client and add the Office365 account as an IMAP mailbox to it. If that works you should also be able to get it to work using EmailReporting

Re: Email Reporting Plugin Setup HOWTO

Posted: 15 Nov 2017, 18:48
by jd_rh
SL-Gundam wrote:Make sure IMAP is enabled for the user account in question
Based on the error it would seem that the username and/or password is incorrect
Try SSL, TLS and STARTTLS (STARTTLS both with port 25 and 993)

Best way to test IMAP is to start a mail client and add the Office365 account as an IMAP mailbox to it. If that works you should also be able to get it to work using EmailReporting
Thanks for the reply. I've checked that the credentials are coorect. I do not see STARTTLS as an option in the dropdown. I guess I will need to investigate how to enable that in PHP.

Re: Email Reporting Plugin Setup HOWTO

Posted: 15 Nov 2017, 20:52
by SL-Gundam
STARTTLS has nothing to do with PHP

It more likely that you're not running the most recent version of EmailReporting
Which version of MantisBT are you running?
Which version of EmailReporting are your running?