Fix rake bug.(Move functions inside namespace)

This commit is contained in:
BoHung Chiu 2021-10-06 11:50:38 +08:00
parent 27deea2610
commit 80e1362ab6
1 changed files with 74 additions and 73 deletions

View File

@ -64,7 +64,6 @@ namespace :epaper do
paper.save
end
end
end
def verify_email(from_addr,check_emails,tls) #true if check_email is ok
s = Timeout.timeout(@open_timeout, Net::OpenTimeout) do
TCPSocket.open(@address, @port)
@ -140,3 +139,5 @@ def new_internet_message_io(s)
io.debug_output = @debug_output
io
end
end