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.
Inherited Properties
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public PasswordAuthentication
PasswordAuthentication(userName as String, password as String = ""):
Creates credentials.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml