Advertisement
user0

How to make MantisBT work with Gmail

Oct 29th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. HOW TO MAKE MANTISBT WORK WITH GMAIL.
  2. ---------------------------------------------
  3. If you use a Gmail account for your web server, you can use it for MantisBT -- no sendmail nor FakeSendMail needed.
  4. 1) Go to the directory of your Mantis installation.
  5. 2) Open the file "config_inc.php".
  6. 3) Add this piece of code to that file:
  7. <<
  8. $g_phpMailer_method = PHPMAILER_METHOD_SMTP;
  9. $g_smtp_host = 'smtp.gmail.com';
  10. $g_smtp_username = '[email protected]';
  11. $g_smtp_password = 'password';
  12. $g_smtp_connection_mode = 'tls';
  13. >>
  14. The $g_smtp_connection_mode is EXTREMELY IMPORTANT because it'll allow connection to Gmail to send emails.
  15. Replace 'username' with your Gmail username and 'password' with the password that you use to login.
  16. Now save it.
  17. P.S. Tested only on Ubuntu -- I don't know if this will work for Windows and/or for another OSes...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement