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

smtp authentication issue


hello, 

I am having issue with smtp authentication  in the email set up.. here is my settings.

smtp.gmail.com      port 587 

starttls     

app password 

 

1 day, 16 hours ago | Open | By: khoa nguyen

SocketException: SMTP Error: 530 5.7.0 specifications. 6a1803df08f44-8b3eeb2c751sm1621306d6.43 - gsmtp in /var/www/html/flinkiso/lib/Cake/Network/Email/SmtpTransport.php:375
Stack trace:
#0 /var/www/html/flinkiso/lib/Cake/Network/Email/SmtpTransport.php(186): SmtpTransport->_smtpSend()
#1 /var/www/html/flinkiso/lib/Cake/Network/Email/SmtpTransport.php(87): SmtpTransport->_auth()
#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}            

1 day, 16 hours ago | By: khoa nguyen

Hello khoa,

SMTP emails generally require the following options. You can set them in app/Config/Email.php file.

class EmailConfig {
   public $gmail = array(
       'host' => 'smtp.gmail.com',
       'port' => 465,
       'username' => '[email protected]',
       'password' => 'secret',
       'transport' => 'Smtp',
       'tls' => true
   );
}

There are multiple arrays in the same file, where you will have to add these details  viz $smtp &  $fast

When you test the email config from the application, it shows you the specific errors returned by the SMTP server. Also, check that all the required ports are open on the application server and application is able to communicate wit the SMTP server.

FlinkISO Help

1 day, 15 hours ago | By: FlinkISO Team

here my email php config…. and this will cause data base error when i test it 

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' => 'smtp-relay.gmail.com',
                   'port' => 587
                   'timeout' => 30,
                   'username' => '[email protected]',
                   'password' => 'secret',
                   'tls' => true
                   'client' => null,
                   'log' => false,
                   );

                   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' => 'smtp-relay.gmail.com',
                   'port' => 587,
                   'timeout' => 30,
                   'username' => '[email protected]',
                   'password' => 'secret',
                   'client' => null,
                   'tls' => true
                   'log' => true,
                   //'charset' => 'utf-8',
                   //'headerCharset' => 'utf-8',
                   );
               }

 

this is the error 

 

An Internal Error Has Occurred.

Error: An Internal Error Has Occurred.

 

 

Possible Causes:

 

  • Database is not connected.
    • Make sure that you have imported app/webroot/schema/flinkiso-on-premise.sql
    • Make sure to add database configuration at app/Config/Database.php under default config.
  • Directory permissions are not correct
    • Following folders must have read-write-execute permissions (recursive)
      • app/webtoot
      • app/tmp
      • lib/Cake/Cache
  • Missing tables or incorrect models.

 

If this error is occuring during the installation, visit: https://www.flinkiso.com/manual/installation.html and follow the installation instructions.

You can also use FlinkISO Forum : https://forum.flinkiso.com/ for possible resolution.

If you have successfully installed the application and error is occuring after creating a custom HTML form, this error can be resolved by recreating the form.

If this error is coming after creating a child form or a form linked to a child document, recreate the parent form.

Additional Info:Remove "STRICT_TRANS_TABLES" for sql_mode from MySQL configuration file.


           

17 hours, 2 minutes ago | By: khoa nguyen

here my email php config…. and this will cause data base error when i test it 

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' => 'smtp-relay.gmail.com',
                   'port' => 587
                   'timeout' => 30,
                   'username' => '[email protected]',
                   'password' => 'secret',
                   'tls' => true
                   'client' => null,
                   'log' => false,
                   );

                   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' => 'smtp-relay.gmail.com',
                   'port' => 587,
                   'timeout' => 30,
                   'username' => '[email protected]',
                   'password' => 'secret',
                   'client' => null,
                   'tls' => true
                   'log' => true,
                   //'charset' => 'utf-8',
                   //'headerCharset' => 'utf-8',
                   );
               }

 

this is the error 

 

An Internal Error Has Occurred.

Error: An Internal Error Has Occurred.

 

 

Possible Causes:

 

  • Database is not connected.
    • Make sure that you have imported app/webroot/schema/flinkiso-on-premise.sql
    • Make sure to add database configuration at app/Config/Database.php under default config.
  • Directory permissions are not correct
    • Following folders must have read-write-execute permissions (recursive)
      • app/webtoot
      • app/tmp
      • lib/Cake/Cache
  • Missing tables or incorrect models.

 

If this error is occuring during the installation, visit: https://www.flinkiso.com/manual/installation.html and follow the installation instructions.

You can also use FlinkISO Forum : https://forum.flinkiso.com/ for possible resolution.

If you have successfully installed the application and error is occuring after creating a custom HTML form, this error can be resolved by recreating the form.

If this error is coming after creating a child form or a form linked to a child document, recreate the parent form.

Additional Info:Remove "STRICT_TRANS_TABLES" for sql_mode from MySQL configuration file.


           

17 hours, 2 minutes ago | By: khoa nguyen

Hi

Please check app/tmp/logs/error.log for actual error. Your array has syntax errors. You need to add “comma” after 'tls' => true, 

FlinkISO Team

 

15 hours, 39 minutes ago | By: FlinkISO Team