Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. <?php
  2. $g_hostname = 'localhost';
  3. $g_db_type = 'mysqli';
  4. $g_database_name = 'bugtracker';
  5. $g_db_username = 'root';
  6. $g_db_password = 'root';
  7.  
  8. $g_default_timezone = 'Asia/Kolkata';
  9.  
  10. $g_crypto_master_salt = 'HzYStp237n3sn+wmkWpQIM70+YyaiA4Y0c+jlapqZBE=';
  11.  
  12. # --- Anonymous Access / Signup ---
  13. $g_allow_signup = ON;
  14. $g_allow_anonymous_login = OFF;
  15. $g_anonymous_account = '';
  16.  
  17. # --- Email Configuration ---
  18. $g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
  19. $g_smtp_host = 'reseller8.hrwebservices.net'; # used with PHPMAILER_METHOD_SMTP
  20. $g_smtp_username = 'heena@confluencesolution.com'; # used with PHPMAILER_METHOD_SMTP
  21. $g_smtp_password = 'heena@123'; # used with PHPMAILER_METHOD_SMTP
  22. $g_smtp_port = '465';
  23. $g_webmaster_email = 'heena@confluencesolution.com';
  24. $g_from_email = 'heena@confluencesolution.com'; # the "From: " field in emails
  25. $g_return_path_email = 'heena@confluencesolution.com'; # the return address for bounced mail
  26. # $g_from_name = 'Mantis Bug Tracker';
  27. # $g_email_receive_own = OFF;
  28. # $g_email_send_using_cronjob = OFF;
  29.  
  30.  
  31. can anyone suggest me , how I make it working ?
  32.  
  33. **Step 1:-** Update your mantisBT config_inc.php file as per below details.
  34.  
  35. <?php
  36. $g_hostname = 'localhost';
  37. $g_db_type = 'mysqli';
  38. $g_database_name = 'bugtracker';
  39. $g_db_username = 'root';
  40. $g_db_password = '';
  41.  
  42. $g_default_timezone = 'Europe/Berlin';
  43. $g_crypto_master_salt = 'k6icIz8yB2w5YRubgbiu1wFNp5YCl+SCnhPonQm5L7Q=';
  44. $g_allow_signup = ON; # allows the users to sign up for a new account
  45. $g_enable_email_notification = ON; # //enables the email messages
  46. $g_send_reset_password = ON;
  47. $g_phpMailer_method = PHPMAILER_METHOD_SMTP;
  48. $g_smtp_host = 'smtp.gmail.com';
  49. $g_smtp_connection_mode = 'tls';
  50. $g_smtp_port = 587;
  51. $g_smtp_username = 'shivarajr2128@gmail.com'; //replace it with your gmail address
  52. $g_smtp_password = '********'; //replace it with your gmail password
  53. $g_administrator_email = 'administrator@gmail.com'; # //this will be your administrator email address
  54. $g_email_send_using_cronjob = OFF;
  55.  
  56. **Step2 :-** Create User by following below steps.
  57. Manage -> Manage Users -> Create New Account
  58. provide the details and click on Create User button
  59.  
  60. **Step 3:-** setup Email notification.
  61. Manage -> Manage Configuration -> Email Notification.
  62. Check(Select Check box) message types depending on access level -> Click on Update Configuration button.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement