This forum is no longer active. Please post your questions to our new community site

Forums Mantis

e-mail not sent newly created user

Subscribe to e-mail not sent newly created user 11 post(s), 5 voice(s)

 
Avatar tpradeep 3 post(s)

hi,

i have downloaded bitnami mantis 1.1.6 and installed it.

i have logged in with admin user name and password,

when i have created new user, no mail has been sent to the new user.

what should i do now to esure that it sends email to new user.

(i am looking to setup in a lan environment)

thanks
pradeep

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

To enable the send email feature you should configure the SMTP settings using your email service account. In the following link you can find more information about this:

http://manual.mantisbt.org/manual.configuration.email.php

I hope it helps.

 
Avatar tpradeep 3 post(s)

hi,
i need to configure config_inc.php

i am installing this in local server

can you give what actual content should be in config_inc.php

thanks
pradeep

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

The mantis files are in <installdir>/apps/mantis/htdocs. You can find config_inc.php file in this folder.

Cheers.

 
Avatar tpradeep 3 post(s)

hi ,

this is the content available in config_inc.php

<?php $g_hostname = ‘localhost’; $g_db_type = ‘mysql’; $g_database_name = ‘bitnami_mantis’; $g_db_username = ‘bitnami’; $g_db_password = ‘a87e778df2’;
?>

what should i add now to make sure that new user will get a email.

thanks
pradeep

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Sorry but maybe in the Mantis forum can find more help. I think that is only necessary to configure some of the fields which appears in the previous link. For example: $g_administrator_email = ´admin@gmail.com´;$g_from_email = ´noreply@example.com´, etc

I believe that the main options are related to SMTP configuration: $g_smtp_host, $g_smtp_username, $g_smtp_password and more.

Cheers.

 
Avatar zakir 1 post

Hi,

I’m novice to Mantis tool. As pradeep has mentioned I’ve downloaded the bitnami mantis 1.1.8 which includes the PHP, MySQL and apache and installed it. I could able to login as the admin with the password entered while installation. But when i create a new user, no mail has been sent to the new user nor the mail has been sent to me(being an administrator)

@beltran

I believe that some stuff should be added in the config_inc.php file but the problem is I could see only the below stuff as pradeep mentioned in that file (i.e <?php $g_hostname = ‘localhost’; $g_db_type = ‘mysql’; $g_database_name = ‘bitnami_mantis’; $g_db_username = ‘bitnami’; $g_db_password = ‘a87e778df2’; ?>)

Where is the configuration of the SMTP happens ??

While installation it doesn’t ask for the SMTP setup to be created for sending mails

Also i could see one more file named config_inc.php.sample in which it is mentioned as “# Rename this file to config_inc.php after configuration.” and the config_inc.php.sample file contains the email variables settings wherein we can define the admin emails. But i couldn’t able to rename the file to config_inc.php as it throws error with the already existing to config_inc.php file. Moreover I tried changing some stuff in the to config_inc.php file by appending the email variables details from the to config_inc.php.sample file but after this I couldn;t able to access the application itself and the screen turns up blank with no output not even an error message.

Please help me on

1. How to setup the SMTP so that the email configuration works
2. Some documentation on the usage of the tool

Thanks in Advance

zakir

 
Avatar carlos Administrator 144 post(s)

Hi zakir,

To setup the SMTP you just need to add the configuration options inside config_inc.php file. For example:

<?php
$g_hostname = ‘localhost’; 
$g_db_type = ‘mysql’; 
$g_database_name = ‘bitnami_mantis’; 
$g_db_username = ‘bitnami’; 
$g_db_password = ‘a87e778df2’;
$g_phpMailer_method = 2;
$g_from_email = '<email adress to be used>';
$g_smtp_host = 'smtp.host.com';
$g_smtp_username = 'smtp_user_name';
$g_smtp_password = 'smtp_password';
?>

(Modifying the values with your smtp credentials).

All available options related with email setup that you may add are listed in the link that was provided by Beltran before.

You can find Mantis documentation here .

Regards

 
Avatar shaded2 8 post(s)

Im having a similar issue, i followed all the suggestions but im not getting any emails. Do i have to first configure postfix or is postfix already preconfigured?

 
Avatar shaded2 8 post(s)

disregard this post. all emails suddenly came in, i guess my last change fixed it.

Thanks.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

I’m glad to hear this :)

Forums Mantis