ok answered my last questions and it’s possible to send a single modx page. found a few friends down the street to help dig around in the code and have isolated the problem, line 500-506 in snippet call:
case ’SubmitNewsDoc’:
$succeedFlag = true;
foreach($_POST[’contentdocs’] as $docid) {
$url = $modx->config[’site_url’].ltrim($modx->makeUrl($docid), ’/’);
$webPageHtml = parseWebPage($url);
if(!mailNewsletter($_POST[’from’], $_POST[’toemail’], $_POST[’tousers’], $_POST[’subject’], $webPageHtml, strtolower($_POST[’type’]))) {
$succeedFlag = false;
in the 5th line here it says ’parseWebPage($url)’ I changed ($url) to ("
http://www.google.com") and was able to send and read the web page in email. But i’m trying to call on a modx page with ditto links... and using my solution only lets a person look at one page email and can not access the links.
When ($url) is there, no pages get emailed, why is this? Is there another way to call on the web page and get it working?