20.02.2020, 11:21
Use HTTPS. If it still does not work then you have to update firmware to 2019 RC1.
Code:
require('user.mail')
ip = require('ssl.https').request('https://openrb.com/ip')
oldip = storage.get('myip')
if ip 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