Not to Create Ticket from Email

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

Moderators: Developer, Contributor

Post Reply
m0vidaHattie
Posts: 26
Joined: 18 Jan 2021, 09:10

Not to Create Ticket from Email

Post by m0vidaHattie »

Hello Everyone,

Does anyone let me know if someone sends and email if this user is not registered yet, the MantisBT not to open a ticket-issues for this user ?

I mean, the user must be registered first and then if he sends an email the system to open ticket from this email.

Thank you in advance.

Alex
cas
Posts: 1027
Joined: 11 Mar 2006, 16:08
Contact:

Re: Not to Create Ticket from Email

Post by cas »

Please read the documentation that comes with the plugin.
The user does not need to be registered if you configure the plugin that way :D
m0vidaHattie
Posts: 26
Joined: 18 Jan 2021, 09:10

Re: Not to Create Ticket from Email

Post by m0vidaHattie »

You didn't probably read my question clearly.

What I want is:

If I am not registered user and if I send an email, the MantisBT not open a ticket.

The normal behaviour if I am registered:
Is to open a ticket either with my email address or as Mailer3647 user account for example.

What I want to know is, if the user is not registered, if he sends an email, MantisBT not to open a ticket to unregistered users, is that possible ?

Thanks a lot.
cas
Posts: 1027
Joined: 11 Mar 2006, 16:08
Contact:

Re: Not to Create Ticket from Email

Post by cas »

not sure but you can set "no auto create users" and set fallback to to generic reporter "off". Perhaps then no ticket is created.
m0vidaHattie
Posts: 26
Joined: 18 Jan 2021, 09:10

Re: Not to Create Ticket from Email

Post by m0vidaHattie »

Thank you for your reply.

Yes I know that there is an option not to auto register new email addresses and that I can turn off the set fallback to to generic reporter "off".

But,
Is there any solution that the MantiBT checks first if the email is already registered ?
If yes = open the ticket
if no = do not create ticket

Does anyone else knows that ?

Thank you in advance.
SL-Gundam
Posts: 637
Joined: 06 Jul 2011, 14:17

Re: Not to Create Ticket from Email

Post by SL-Gundam »

Hi what you want is the following

Use only default reporter user for issues created by email -> No
Enable fallback to default reporter -> No
Signup new users automatically (possible security risk!, see documentation) -> No

This way EmailReporting will check whether the user exists based on the from email address
If the user does not exist EmailReporting is not allowed to create the user so it checks the fallback.
It's not allowed to use the fallback so EmailReporting will ignore the email and based on "Delete processed email from the mailbox" will either delete or ignore the email in the future

Keep in mind that EmailReporting will not check the email twice. This could result in Emails being lost if the user is not found
m0vidaHattie
Posts: 26
Joined: 18 Jan 2021, 09:10

Re: Not to Create Ticket from Email

Post by m0vidaHattie »

Thank you for your reply.

I will try the solution you are referring to and I will let you know the results.

Thank you in advance.

I want the MantisBT only to fetch - create notes for registered emails accounts.

If it is the first time that a user sends an email and if he is not registered(the email is not registered), the system must ignore this email and do not fetch create a ticket.

Only registered email address should be able to email and automatically MantisBT open a new ticket.
Post Reply