19.01.2023, 08:20
The current index is the first variable in the loop:
It should send an email for each entry in the table. Log what the mail function returns:
Code:
for index, row in ipairs(rows) do
log(index)
...
end
It should send an email for each entry in the table. Log what the mail function returns:
Code:
res, err = mail(...)
log(res, err)