PasswordAuthentication
classin packageklyn.mails
public class PasswordAuthentication extends Object:
└ PasswordAuthentication
Simple SMTP user/password holder.
import klyn.mails

auth = PasswordAuthentication("user", "secret")
print(auth.userName)
Fields
Modifier and Type Member Description
public readonly password
password as String
Login password.
public readonly userName
userName as String
Login user name.
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public PasswordAuthentication
PasswordAuthentication(userName as String, password as String = ""):
Creates credentials.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml