klyn.mails.PasswordAuthentication.PasswordAuthentication
constructor
public PasswordAuthentication(userName as String, password as String = ""):
Description
Creates credentials.
import klyn.mails

auth = PasswordAuthentication("user", "secret")
print(auth.password != "")
Parameters
  • userName SMTP login.
  • password SMTP password. ```klyn import klyn.mails auth = PasswordAuthentication("user", "secret") print(auth.password != "") ```