Page 2 of 4

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 06, 2014 1:14 pm
by SL-Gundam
If you want issues created with category A and other issues created with category B, you need to set up two mailboxes in EmailReporting. These mailboxes cannot be connected to one and the same email address... so you need to have two email addresses (one email address per category)

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 06, 2014 3:08 pm
by ZiZou1991
Yes, I understand you now :D
but how to specify the project and the category in the mail for a new issue created (the mail format)

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 06, 2014 3:11 pm
by SL-Gundam
Project and category can only be managed by the mailbox settings in EmailReporting. mail formatting has no influence on the created issue

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 06, 2014 3:45 pm
by ZiZou1991
Please excuse me
i create an issue via mail
how to know the project related to
the category is known with the mail address
by default issues will be unassigned but mantisbt has auto assign functionality builtin in certain categories and such.
Can you give me that fonctinnality
thanks :)

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 06, 2014 5:32 pm
by SL-Gundam
for the auto assign just edit a category (either global or connected to a project) and you will see the option to assign that category to someone

This is base functionality provided by MantisBT.

project and category can be selected as part of the mailbox settings in EmailReporting

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 07, 2014 5:40 am
by ZiZou1991
Hello,

The reporter user should be the email sender is not it ?
https://www.dropbox.com/s/kkc3id19npg30 ... .25.12.png
I solved this problem, but i still have one more :?
I want to fill the field assigned to correctly
if this is not implemented in mantis i hope that you help me
I have another question
when i create x project, must i create also x address mail ? 8O
if yes how to repair that because it is not practical in my case

Thank you in advance :)

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 07, 2014 7:40 am
by ZiZou1991
awesome
I solved the second issue :D
I wait for your answer to my question Sir :)
thanks :)

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 07, 2014 10:08 am
by SL-Gundam
In my case I've created one project where issues are created and after that i move them manually to other projects based on my own opinion where they belong

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 08, 2014 4:45 am
by ZiZou1991
ok good job
Now i search for detailed instructions on setting up Gmail SMTP ( and outlook also -_- )
always not working despite settings are exact why?

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 08, 2014 5:00 am
by ZiZou1991
config_inc.php

/***************************
* MantisBT Email Settings *
***************************/


//$g_administrator_email = '***@outlook.com';
$g_administrator_email = '***@gmail.com';

//$g_webmaster_email = '***@outlook.com';
$g_webmaster_email = '***@gmail.com';


//$g_from_email = '***@outlook.com';
$g_from_email = '***@gmail.com';


$g_from_name = 'Mantis Bug Tracker';


//$g_return_path_email = '***@outlook.com';
$g_return_path_email = '***@gmail.com';

$g_enable_email_notification = ON;

$g_email_receive_own = OFF;

$g_validate_email = ON;

$g_check_mx_record = OFF;

$g_allow_blank_email = OFF;

$g_limit_email_domain = OFF;

$g_show_user_email_threshold = NOBODY;

$g_show_user_realname_threshold = NOBODY;

$g_mail_priority = 3;

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;

//$g_smtp_host = 'smtp.live.com';
$g_smtp_host = 'smtp.gmail.com';

//$g_smtp_password = '***';
$g_smtp_password = '***';


$g_smtp_connection_mode = 'ssl';


$g_smtp_port = 465;

$g_email_send_using_cronjob = OFF;

$g_email_set_category = ON;

$g_email_separator1 = str_pad('', 70, '=');

$g_email_separator2 = str_pad('', 70, '-');

$g_email_padding_length = 28;

$g_log_level = LOG_EMAIL;

$g_log_destination = 'file:e:/tmp.log';

Firewall and Antivirus were deactivated

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 08, 2014 10:39 am
by SL-Gundam
The settings you mention are for sending emails. Thats something you should ask in the general forums for MantisBT

But most likely this is caused because gmail has two step verification where you normal password will not work. The application passwords are meaned for IMAP and POP3. You might need to use those

Re: Email Reporting Plugin Setup HOWTO

Posted: Aug 11, 2014 3:27 am
by ZiZou1991
Thanks Sir for your help and disponibility
I'll search
Thanks again :)

Re: Email Reporting Plugin Setup HOWTO

Posted: Oct 01, 2014 7:48 am
by sonam
Hi

When i put

Block this script from running via a webserver (recommended = "Yes") to No

And run the "bug_report_mail.php" file in browser then i get this error:

-----------------
Mailbox: Gmail test
Message: Mail debug directory does not exist or is not writable.


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


Mailbox: Gmail test
Message: Reporter: 2 - noreply@example.com --> Issue ID: #33


Done checking all mailboxes
--------------

So kindly please let me know what is wrong and what to do???

Re: Email Reporting Plugin Setup HOWTO

Posted: Oct 01, 2014 11:55 am
by SL-Gundam
Check the configuration settings for EmailReporting.

One part of the settings is about a debug directory which shows its current status behind it

Re: Email Reporting Plugin Setup HOWTO

Posted: Oct 04, 2014 7:18 am
by sonam
Hi

Can you please tell me where to create this mantisemailcheck.sh file