2019-03-18, 01:58 PM
(2018-02-12, 08:20 PM)dragonexpert Wrote:define("IN_MYBB", 1); require_once "global.php"; $query = $db->simple_select("mailerrors", "*"); while($row = $db->fetch_array($query)) { my_mail($row['toaddress'], $row['subject'], $row['message'], $row['fromaddress']); }
Create a file in the same directory as your forum and put that content into it. Then navigate to the page you just created and it should send the emails.
Sorry for my dumb question but the file has to be created as a *.php file ? and then just load it with the forumspage ?
Unfortunately until now the functionality has not been included in the lastest MyBB 18.20 built as far as I have seen and I had a lot of trouble with smtp because the mailsettings often had to change... so lots of not sent mails.. So this would be very useful.
Anyway thanks for all of your help so far !
Best regards,
Mike