Does WordPress require port 25 for email?

WordPress sends emails via the wp_mail() method, which, by default, needs port 25 to be enabled in your php.ini settings:

For this function to work, the settings SMTP and smtp_port (default: 25) need to be set in your php.ini file.

You will have to change this setting if you would want to send mails via another port.

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