X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtTQ0w9Ng==
X-Message-Status: n:0
X-SID-PRA: Gast.nl Nieuwsbrief <[email protected]>
X-Message-Info: XXXXXX
Received: from tanis.proserve.nl ([193.242.119.80]) by bay0-mc7-f22.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668);
Thu, 4 Jun 2009 09:10:24 -0700
Received: (qmail 24251 invoked by uid 48); 4 Jun 2009 18:10:23 +0200
Date: 4 Jun 2009 18:10:23 +0200
Message-ID: <[email protected]>
To: [email protected]
Subject: Test mail
MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: XXX.nl Nieuwsbrief <[email protected]>
Return-Path: [email protected]
X-OriginalArrivalTime: 04 Jun 2009 16:10:24.0449 (UTC) FILETIME=[F7BE9B10:01C9E52E]
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from mx-i.b-one.net (mx-i.one.com [91.198.169.56])
by mail6.b-one.net (Postfix) with ESMTP id 8C687160
for <[email protected]>; Thu, 4 Jun 2009 18:10:24 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Greylist: from auto-whitelisted by SQLgrey-1.7.4
Received: from tanis.proserve.nl (tanis.proserve.nl [193.242.119.80])
by mx-i.b-one.net (Postfix) with ESMTP id 5191E8407
for <[email protected]>; Thu, 4 Jun 2009 18:10:24 +0200 (CEST)
Received: (qmail 24247 invoked by uid 48); 4 Jun 2009 18:10:23 +0200
Date: 4 Jun 2009 18:10:23 +0200
Message-ID: <[email protected]>
To: [email protected]
Subject: Test mail
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
From: XXX.nl Nieuwsbrief <[email protected]>
X-Antivirus: AVG for E-mail 8.5.339 [270.12.53/2154]
Quote from: danthach6 at Sep 14, 2008, 04:43 PM
Quote from: smashingred at Mar 17, 2008, 11:25 AM
I had the same problem. This include_once(../../../manager/includes/config.inc.php) won’t work. If you go to /assets/modules/temailer/unsubscribe.php and hard code your path this should work. I also think it may work if you change the call to the following (but I haven’t tested it) include_once($modx->config[’base_path’].manager/includes/config.inc.php) I am not sure if it will get the $modx variable without having gotten the config.inc.php file but I think it should work since the page should be called via MODx first.
I hard coded the correct directory, but now I have a different error in my unsubscribe snippet. can anyone help please?
PHP error debug Error: include_once() [function.include-once]: URL file-access is disabled in the server configuration Error type/ Nr.: Warning - 2 File: /home/content/c/o/b/cobroker1/html/assets/modules/temailer/unsubscribe.php Line: 2 Line 2 source: include_once("http://www.brianquigley.com/manager/includes/config.inc.php");
I can’t say for sure, because it was my business partner who wrote the code, and not me, but by the nature of the error itself, it looks like you cannot include a URL, so maybe take out the http://www.brianquigley.com and put in something like /home/content/c/o/b/cobroker1/html/manager/includes/config.inc.php instead?
I also wanted to dop a quick note that, due to our client’s demands, we made some modifications to the script. The client has an email list of over 2,000 people now, and of course, he is limited by his web host, so he cannot send that many emails out at once, and also he was getting MYSQL errors on his server, because godaddy’s virtual dedicated servers are terrible and have no memory, so we have amended the script so that it divides the ~2,000 emails needed to be sent into blocks of 10 (or 25, or 43, or whatever the user wants), and spaces out the number of blocks of emails over a period of time, so it takes about 30 minutes to send out all ~2,000 emails, but the server no longer runs out of memory, and he doesn’t violate his web host’s terms of service for number of emails sent out at once.
I know other people have modified our script, but I’m wondering if anyone is interested in this new functionality, and would like to see an update released?
Thanks to everyone for their work on this, and their compliments and support of this module! I know that we haven’t been here much to support it, but it’s great how other people have picked up some of the slack, and I hope that we can keep contributing here.