Back to Forum Home Page

You must be a registered user (on-premise or cloud) to add any post. To get access, enter your registered Emaill address below and we will email you the access token. Enter your token along with your email address to add the post. You can use your last received token if you have already generated one.

Q. How to get access to FlinkISO Forum?

Ans:In order to able to post, you must be a registered user either with FlinkISO either On-premise or Cloud. You can login to the forum via using your email address, which you or your administrator used duing the registration on the websile. Once you have the email address, use the same email addres and generate a token. We will send you the token on the same email address. Use that token along with the email address to login. You can read posts without login.

Home > Application Installation

Email SMTP setup issue


Good day FlinkISO team, thank you for maintaining this forum to provide support for the software.

I followed all the installation setup instructions at https://www.flinkiso.com/manual/installation.html but the email SMTP is not working. 
My email.php configuration is the following:
class EmailConfig {

       public $default = array(
               "transport" => "Mail",
               "from" => array("[email protected]" => "FlinkISO"),
               //"charset" => "utf-8",
               //"headerCharset" => "utf-8",
       );

       public $smtp = array(

               "transport" => "Smtp",
               "from" => array("[email protected]" => "FlinkISO"),
               "host" => "mail.picengineering.com.my",
               "port" => 465,
               "timeout" => 30,
               "username" => "[email protected]",
               "password" => "******",
               "client" => null,
               "log" => true,
               "tls" => true,
       );

       public $fast = array(
               "from" => "[email protected]",
               "sender" => null,
               "to" => null,
               "cc" => null,
               "bcc" => null,
               "replyTo" => null,
               "readReceipt" => null,
               "returnPath" => null,
               "messageId" => true,
               "subject" => null,
               "message" => null,
               "headers" => null,
               "viewRender" => null,
               "template" => false,
               "layout" => false,
               "viewVars" => null,
               "attachments" => null,
               "emailFormat" => null,
               "transport" => "Smtp",
               "host" => "mail.picengineering.com.my",
               "port" => 465,
               "timeout" => 30,
               "username" => "[email protected]",
               "password" => "*******",
               "client" => null,
               "log" => true,
               "tls" => true,
               //"charset" => "utf-8",
               //"headerCharset" => "utf-8",
       );
}

The error message I received from the “Add SMTP Email” webpage is:
SocketException: SMTP timeout. in /var/www/html/flinkiso/lib/Cake/Network/Email/SmtpTransport.php:362
Stack trace:
#0 /var/www/html/flinkiso/lib/Cake/Network/Email/SmtpTransport.php(149): SmtpTransport->_smtpSend()
#1 /var/www/html/flinkiso/lib/Cake/Network/Email/SmtpTransport.php(86): SmtpTransport->_connect()
#2 /var/www/html/flinkiso/lib/Cake/Network/Email/CakeEmail.php(1183): SmtpTransport->send()
#3 /var/www/html/flinkiso/app/Controller/SettingsController.php(165): CakeEmail->send()
#4 [internal function]: SettingsController->smtp_details()
#5 /var/www/html/flinkiso/lib/Cake/Controller/Controller.php(500): ReflectionMethod->invokeArgs()
#6 /var/www/html/flinkiso/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction()
#7 /var/www/html/flinkiso/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#8 /var/www/html/flinkiso/app/webroot/index.php(115): Dispatcher->dispatch()
#9 {main}  

Somehow, my tmp/logs/error.log file is completely empty despite receiving the error code above.
My email server is set to SSL/TLS on port 465.

1 day, 1 hour ago | Open | By: Liew Seng Chin

Hello Chin

You need to make sure that there is a communication between FlinkISO server and your SMTP server and firewall is not blocking any port which is required. Timeout error generally means that FlinkISO server is trying to connect your SMTP server but is not getting any response. 

FlinkISO Team

 

1 day, 1 hour ago | By: FlinkISO Team