SMTP in my site doesn't work
I already installed Postfix im using ubuntu 14.04 and my server is using LEMP. it's working properly using terminal. But I can't make it work on my php site to send email notification. What should I use in this setting. Please help thanks!
//EMAIL SENDING CONFIGURATION define('MAILER', "smtp"); define('SMTP_HOST', ""); define('SMTP_PORT', 587); define('SMTP_USERNAME', ""); define('SMTP_PASSWORD', ""); define('SMTP_ENCRYPTION', "");