Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HOW TO MAKE MANTISBT WORK WITH GMAIL.
- ---------------------------------------------
- If you use a Gmail account for your web server, you can use it for MantisBT -- no sendmail nor FakeSendMail needed.
- 1) Go to the directory of your Mantis installation.
- 2) Open the file "config_inc.php".
- 3) Add this piece of code to that file:
- <<
- $g_phpMailer_method = PHPMAILER_METHOD_SMTP;
- $g_smtp_host = 'smtp.gmail.com';
- $g_smtp_username = '[email protected]';
- $g_smtp_password = 'password';
- $g_smtp_connection_mode = 'tls';
- >>
- The $g_smtp_connection_mode is EXTREMELY IMPORTANT because it'll allow connection to Gmail to send emails.
- Replace 'username' with your Gmail username and 'password' with the password that you use to login.
- Now save it.
- 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