20.02.2020, 10:40
Hi everybody !
I have the following code:
----------------------------------
require('user.mail')
require('socket.http')
socket.http.timeout = 0
http = require('socket.http')
local ip = http.request('http://openrb.com/ip')
local oldip= storage.get('myip')
if (ip~=nil and ip ~= oldip) then
log("Change my ip=" .. ip )
storage.set('myip', ip)
mail('panhhvtc@gmail.com','Ctr nha mau 66 ngo thi nham ','IP : '..ip)
end
-----------------------------------
The above code when I ran, it reported an error as shown in the attached image. What is wrong with me? My Gmail is still working fine
Thank so much !
I have the following code:
----------------------------------
require('user.mail')
require('socket.http')
socket.http.timeout = 0
http = require('socket.http')
local ip = http.request('http://openrb.com/ip')
local oldip= storage.get('myip')
if (ip~=nil and ip ~= oldip) then
log("Change my ip=" .. ip )
storage.set('myip', ip)
mail('panhhvtc@gmail.com','Ctr nha mau 66 ngo thi nham ','IP : '..ip)
end
-----------------------------------
The above code when I ran, it reported an error as shown in the attached image. What is wrong with me? My Gmail is still working fine
Thank so much !