Limited Time Offer: Full Feature Access. Plans start @$13 for 11 users Get Started Now
Go to the path in your application: app/Config/constants.php
Setp 2:Set the following in Gmail SMTP:
define("SMTP_HOST", "ssl://smtp.gmail.com");
define("SMTP_PORT", "465");
define("SMTP_UNAME", "youremail@gmail.com");
define("SMTP_PWORD", "******");
Please provide your smtp username and password to working the email properly.
If you are finding problem after setting the username and password then please check the below:
Go to your php.ini file and enable the "php_openssl" in you PHP setting.
You need to enable extension=php_openssl.dll on php.ini file.If you are still facing the problem then the port 465 is not available.
Please contact with your server administrator.​
http://DOMAINNAME/SUB_FOLDER/cron/test_email/?to=emailId
If the email is not working then please follow the installation guide again.
In case IMAP is not enabled , please follow below steps in Linux:
Step 1:apt-get install php5-imap
Step 2:php5enmod imap
Step 3:/etc/init.d/apache2 restart
https://support.google.com/accounts/answer/6010255?hl=en
https://www.orangescrum.com/settings/security/lesssecureapps
Also check app/tmp/logs/os-email.log file for any error.
Go to the file: app/webroot/users/image_thumb/index.php
Put the below code beginning of the file.
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
if (!defined('WWW_ROOT')) {
$dir = dirname(__FILE__);
define('WWW_ROOT', substr($dir,0,stripos($dir,'webroot')+strlen('webroot')). DS);
}
Please replace the following code(Line number 57):
Existing code: $fileurl = HTTP_ROOT.'users/files/photos/'.$userdata['User']['photo'];
New code: $fileurl = HTTP_ROOT.'files/photos/'.$userdata['User']['photo'];
Ex:- Let your sub folder is "orangescrum".
You set up SUB_FOLDER as
define('SUB_FOLDER', 'orangescrum');
instead of
define('SUB_FOLDER', 'orangescrum/');
orangescrum folder path - Make sure please create a folder called 'orangescrum' underneath html folder and copy source
code here.
/var/www/html/orangescrum
Open this file and edit vi /etc/apache2/apache2.conf
Add this below file ( AllowOverride All instead of AllowOverride None)
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Save the file and restart the Apache service.
Enable this module and restart the Apache service
sudo a2enmod rewrite
sudo a2enmod headers
service apache2 restart