Trying to send an email using PHP/SQL to 190 people in a table. The email is an html file.
It throws an error when I do this:
[CODE]<?php
$to = “[email protected]”;
$subject = “$firstname, You are invited to attend this summit”;
$msg = require_once(“http://www.website.ca/email.html”);
mail($to, $subject, $msg, “From: BCPLAN <[email protected]>”)
?>
Error:
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /home/content/b/c/p/[I]website
Warning: require_once([url]http://www.website.com/email.html