No pop-ups appeared when I ran this method.
local function sendEmails() local numberOfMembers = table.getn(requestedMembers) if numberOfMembers \> 0 then for i = 1, numberOfMembers, 1 do for row in db:rows( [[SELECT first\_name, email FROM members WHERE id =]] .. requestedMembers[i]) do local options = { to = row.email, cc = "15148947@studentmail.ul.ie", subject = "Requested book available", isBodyHtml = true, body = "\<html\>\<body\>Your requested book is now available.\</body\>\</html\>", } native.showPopup("mail", options) end end end end
How do I send mail?