Emailreporting plugin Configuration

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

Moderators: Developer, Contributor

aavagyan
Posts: 84
Joined: 08 Dec 2013, 14:23
Location: Germany
Contact:

Re: Emailreporting plugin Configuration

Post by aavagyan »

$g_from_email is the "From" in emails.
$g_return_path_email is the return address for bounced mail.
Mantis Statistics Plugin: https://www.mantisstats.org
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Emailreporting plugin Configuration

Post by SL-Gundam »

EmailReporting will try to match an issue number in the subject line to an existing issue. If found the email will be added as a note
The mailbox the email was received in is unimportant at this point

If the email could not be matched to an existing issue, then a new issue will be created. The mailbox the email was received is now important to decide default project and category

In short. Set those 2 settings to the email addresses of an mailbox thats being monitored by EmailReporting. It does not matter which one
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Emailreporting plugin Configuration

Post by NandoNaldo »

Finally i solved the problem.

I changed the TCP port and it seems to work

Thanks for your help :)
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Emailreporting plugin Configuration

Post by SL-Gundam »

to what did you change it?
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Emailreporting plugin Configuration

Post by NandoNaldo »

Host Name - ip address of the mail server
TCP PORT - 993
Connection Encryption - SSL
Verify SSL Certificate - NO
Username - The username of the mailbox that should be used to receive mail
Password - The password of the mailbox that should be used to receive mail
Authentication method - login

Olso, i should say, that it was very important to set the configuration olso in the config_inc.php file:


# --- Email Configuration ---

$g_allow_signup = ON;
$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'ip address of the mail server';
$g_smtp_connection_mode = '';
$g_smtp_port = '25';
$g_smtp_username = 'The username of the mailbox that should be used to receive mail';
$g_smtp_password = 'The passwordof the mailbox that should be used to receive mail';
$g_administrator_email = 'The administrator_email';
$g_webmaster_email = 'The webmaster_email';
$g_from_email = 'The username of the mailbox that should be used to receive mail';
$g_return_path_email = 'The username of the mailbox that should be used to receive mail';
$g_from_name = 'the name of our team';
$g_email_send_using_cronjob = OFF;
# $g_log_level = LOG_EMAIL | LOG_EMAIL_REIPIENT | LOG_FILTERING | LOG_AJAX | LOG_DATABASE | LOG_LDAP;
# $g_log_destination = 'the log destination file';

I must say that our boy who works in our company with AIX and Servers helped me a lot :)
He fixed this in 15 min ( i need to read a lot :P)
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Emailreporting plugin Configuration

Post by SL-Gundam »

The part in the config_inc.php has little to do with EmailReporting receiving emails. It basically deals with all email MantisBT tries to send (EmailReporting of course uses that system)
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Emailreporting plugin Configuration

Post by NandoNaldo »

Hello,

When someone is sending an mail, but the main address used for creating new issue, is in CC, this plugin is converting this mail in a new issue.

Is it possibile with some configuration, to eleminate creating new issue, when the adress is in CC ?
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Emailreporting plugin Configuration

Post by SL-Gundam »

No not at this moment

EmailReporting is designed to process all emails that are in the mailbox it is monitoring
You could of course modify plugin yourself as needed

Why was the email address in the CC when you apparently don't want it to be converted to an issue?
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Emailreporting plugin Configuration

Post by NandoNaldo »

Yes It seems strange, mabay i should find a way with exchange to delete all mail that are in CC, because there is no sense at all.

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

Re: Emailreporting plugin Configuration

Post by SL-Gundam »

Exchange can have rules on incoming emails. You could try that
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Emailreporting plugin Configuration

Post by NandoNaldo »

Hello,

I have a issue regarding the email reporting. When the notes are added into the case that is open, even the attachment keep adding into dhe note.

In this case, i have to delete manually the attachment.

Is there any way to not add the attach that is, actually insert once ?
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Emailreporting plugin Configuration

Post by SL-Gundam »

I take it you mean you have an email that is being send back and forth with the same attachment in it
You do not need that same attachment added multiple times to the issue.

Currently EmailReporting does not verify whether the same attachment has already been imported before. I suggest you report this to the MantisBT bugtracker https://www.mantisbt.org/bugs/ as a feature request and use the project "Plugin - EmailReporting"
Hopefully this will be added in future versions
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Emailreporting plugin Configuration

Post by NandoNaldo »

Should i use the same username and passoword used for the forum ?

Because i am trying but i can't log in
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Emailreporting plugin Configuration

Post by atrol »

NandoNaldo wrote:Should i use the same username and passoword used for the forum ?
Because i am trying but i can't log in
These are separate accounts.
I created an account NandoNaldo for you.
You should get email to activate the account.
Please use Search before posting and read the Manual
Post Reply