$smtp_settings = array(
'host' => 'localhost', # The server to connect.
'port' => 25, # The port to connect.
'persist' => false, # Indicates whether or not the SMTP connection should persist over multiple sends.
'auth' => false, # Whether or not to use SMTP authentication.
'username' => null, # The username to use for SMTP authentication.
'password' => null, # The password to use for SMTP authentication.
)
Key to associate with the error (in the simple case, column name). If omitted, numeric keys will be assigned starting with 0. If specified and the key already exists in $errors, the old error message will be overwritten with the value of $error.