Update SMTP-NodeCode

This commit is contained in:
AriWD40 2020-07-25 18:30:42 +00:00 committed by GitHub
parent c1c74ab4c7
commit 5e519a41d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,10 +21,6 @@ export var mymail = "mail.smtp.localhost" # I found this at some random stackexc
enum channel {TCP,PACKET} enum channel {TCP,PACKET}
export (channel) var com = channel.TCP export (channel) var com = channel.TCP
var authloginbase64=""
var authpassbase64=""
var Socket = null var Socket = null
var PacketSocket = null var PacketSocket = null
var PacketIn = "" var PacketIn = ""
@ -39,7 +35,9 @@ var MaxRetries = 5
var delayTime = 250 var delayTime = 250
var thread = null var thread = null
#
var authloginbase64=""
var authpassbase64=""
func _ready(): func _ready():
if user != "": authloginbase64=Marshalls.raw_to_base64(user.to_ascii()) if user != "": authloginbase64=Marshalls.raw_to_base64(user.to_ascii())
if password != "": authpassbase64=Marshalls.raw_to_base64(password.to_ascii()) if password != "": authpassbase64=Marshalls.raw_to_base64(password.to_ascii())