| Author |
Message |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 57
|
Posted:
Sat Apr 12, 2008 9:25 am |
|
Hi,
I had a list of 200+ e-mail addresses that I tried to copy and past in the ad hoc box for sending a newsletter, however it only could take approx 40 addresses. Is it possible in some way to expand it to 200+ ? |
|
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 862
|
Posted:
Sat Apr 12, 2008 3:04 pm |
|
I have actually changed this in version 1.4 (under development) to use a TEXTAREA field.
You could try this (but be sure to take a backup first!):
=== OPEN FILE ===
modules\HTML_Newsletter\admin\functions.php
=== FIND ===
| Code: |
$sHTML .= ' /> ' . _MSNL_ADM_LAB_WHOSNDTOADHOC . ' '
. '<input type="text" name="msnl_emailaddresses" size="60" '
. 'maxlength="1000" value="' . stripslashes($_POST['msnl_emailaddresses']) . '" /><br />';
|
=== REPLACE WITH ===
| Code: |
$sHTML .= ' /> ' . _MSNL_ADM_LAB_WHOSNDTOADHOC . ':<br />'
. '<textarea name="msnl_emailaddresses" ' . $msnl_asCSS['INPUT_email'] . ' cols="100" rows="6">'
. stripslashes($_POST['msnl_emailaddresses']) . '</textarea>';
|
=== OPEN FILE ===
modules/HTML_Newsletter/style.php
=== ADD ===
Before the closing
?>
add this code:
| Code: |
$msnl_asCSS['INPUT_email'] = 'style="width:100%;height:5em;visibility:visible;display:inline"';
|
=== DONE ===
Let me know if this works as I made the change and tested it so long ago that I cannot recall now if I had to make changes anywhere else with other scripts to allow this to work. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 57
|
Posted:
Sat Apr 12, 2008 10:41 pm |
|
Thanks! I have just tried it and it worked very well. I tried a list with approx 80 addresses. The box where one pastes in the addresses are much larger than before. |
|
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 862
|
Posted:
Sun Apr 13, 2008 7:28 am |
|
The key is that it is not only visually bigger, but it is now virtually unlimited in the number of addresses. Of course, you still have to be concerned about PHP/MySQL time-outs and/or other email limiters at the system level, but that is always the case.
Thanks for letting us know that has worked well for you! |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 57
|
Posted:
Sun Apr 13, 2008 12:48 pm |
|
My php timeout is 30 seconds and MYSQL timeout is 60 seconds. I don't know how many emails that could be sent in that time? It would be good, if the sending was like BigDump that it could avoid timeout problems. I think BigDump uses javascript for that. |
|
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 862
|
Posted:
Sun Apr 13, 2008 12:52 pm |
|
Yes sir. There are several different methods and I just need the time to get to it. My plan is to accommodate the larger sends in 1.4. Both NukeSentinel's import of IP2C and BigDump uses javascript and/or meta refresh.
I may just need to bite-the-bullet as they say and give you guys a quick-and-dirty method. I really wanted to do something more fancy using the Swift Mailer features... (TegoNuke(tm) Mailer). |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 57
|
Posted:
Sun Apr 13, 2008 2:59 pm |
|
Is it possible to use TegoNuke Mailer together with HTML Newsletter of today and not have problems with timeout issues? Does TegoNuke Mailer also take care of the mail everywhere like in Forums, Feedback and Your Account module? |
|
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 862
|
Posted:
Sun Apr 13, 2008 3:07 pm |
|
TegoNuke Mailer is already embedded within the 2.20.x version of RavenNuke. It does not handle the timeout issues. It mainly handles the issue of Hosts turning off the PHP mail() function and requiring SMTP instead.
To work with SMTP you set up both the Forums SMTP settings and the Mailer.
I have to do some work, I think, to get the Mailer to use Swift Mail's special batching features. So, the issue still remains to be addressed. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
|
|