klyn.mails.PasswordAuthentication.PasswordAuthentication
constructor

    public PasswordAuthentication(userName as String, password as String = ""):

Description

Creates credentials.

Parameters

Parameter | Description
--- | ---
`userName` | SMTP login.
`password` | SMTP password.

Example

    import klyn.mails

    auth = PasswordAuthentication("user", "secret")
    print(auth.password != "")