Create user without email

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
fmildemberger
Posts: 25
Joined: 19 May 2020, 16:58

Create user without email

Post by fmildemberger »

Is it possible to create a user without email?
If yes which configuration files should be changed?

Mantis version 2.24.1
Schema version 210
PHP version 7.4.3
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Create user without email

Post by cas »

In principle not but you can supply a dummy email address which you can control.
But why would you need this?
fmildemberger
Posts: 25
Joined: 19 May 2020, 16:58

Re: Create user without email

Post by fmildemberger »

I need it because the smtp of the company where I work is blocked
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Create user without email

Post by cas »

Well perhaps your company is willing to enable another smtp port or provide specific credentials for Mantis.
You can easily configure Mantis not to send emails but it is an important part of the system.
fmildemberger
Posts: 25
Joined: 19 May 2020, 16:58

Re: Create user without email

Post by fmildemberger »

I understand it's an important part of the system but I'll be using mantis to log tickets where I don't really need to send email. Is there this option?
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Create user without email

Post by cas »

Think you can leave it blank using these settings on config/config_inc.php:
$g_send_reset_password = OFF;
$g_enable_email_notification = OFF;
Post Reply