Is there no way to send email using SMTP without plugin or custom coding?

There’s no setting. You’ll need a plugin.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)