create users w/o confirmation email

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
dbyy
Posts: 6
Joined: 30 Jan 2006, 12:29
Location: Sudbury, Ontario, Canada

create users w/o confirmation email

Post by dbyy »

Hi everyone,

I wonder, is it possible in mantis V 1.1.0a2 to create users w/o the confirmation email.
Reason: I have an evaluation installation on a DEBIAN sarge box where no mail server is installed.
Mantis is now waiting that the user logs in but the email has never been sent to the email address. Therefore the accounts are still locked.

Is there some help possible?
Any help much appreciated

TIA
Fred
ed
Posts: 143
Joined: 14 Feb 2005, 02:04
Location: Sydney, Australia

Post by ed »

The mail server does not need to be installed on the same machine as mantis. In config_inc.php add:

$g_phpMailer_method = 2;
$g_smtp_host = 'mailserver';

May need to also alter you php.ini ... look for [mail function]
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

ed wrote:The mail server does not need to be installed on the same machine as mantis. In config_inc.php add:

$g_phpMailer_method = 2;
$g_smtp_host = 'mailserver';

May need to also alter you php.ini ... look for [mail function]
If you choose $g_phpMailer_method = 2, you don't need to alter the php.ini ;)
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

You probably also need to provide SMTP user name and password in the configuration.
Migrate your MantisBT to the MantisHub Cloud
dbyy
Posts: 6
Joined: 30 Jan 2006, 12:29
Location: Sudbury, Ontario, Canada

Post by dbyy »

I added the following lines to Config_inc.php
$g_phpMailer_method = 2;
$g_smtp_host = 'mailserver';
But its still trying (I guess) to send out an verification email because I ahve no choice to enter the system with or without a password.

I guess I'm missing here something :(

Hoping someone can help.
Fred
ed
Posts: 143
Joined: 14 Feb 2005, 02:04
Location: Sydney, Australia

Post by ed »

Emails need to be sent out for a user to be created.

You need to replace 'mailserver' with the name of the SMTP server on your network.
dbyy
Posts: 6
Joined: 30 Jan 2006, 12:29
Location: Sudbury, Ontario, Canada

Post by dbyy »

Thats what I don't understand.

Why does it need to send emails??
And I can't turn this feature off?
I want to use it in a intranet behind a firewall.
The access is anyway controlled by an administrator who creates each account.

Is Mantis this feature missing?

Fred
Post Reply