Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Newsletter MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

acseven
Starting Member

Portugal
7 Posts

Posted - 24 February 2004 :  19:20:21  Show Profile
Hi!

I have installed the newsletter MOD in my snitz forum, and added a list of e-mails (about 100), to which the newsletter is to be sent.

The newsletter works, but not flawlessly: it doens't send the email to all the emails listed! it reaches a certain point, after which stops (it presents a list with all emails that were sent and a server timeout error msg!!).

Help?

acseven
Starting Member

Portugal
7 Posts

Posted - 24 February 2004 :  19:53:27  Show Profile
I found this topic in the forums, presenting the same problem:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=42606

There, I found this solution:
quote:
Have you tried to increase the timeout by adding Server.ScriptTimeout = 500000 or something like that? That should give it plenty of time to finish what it is doing. BTW I have used this MOD without problems, but with only a handful of subscribers.

Adding the Server.ScriptTimeout line fixed a problem in another non-related script I was having. Just a thought. Let me know if it works.

Can anyone tell me how to implement this? thanks!
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 25 February 2004 :  09:44:58  Show Profile  Visit masterao's Homepage
Put Server.ScriptTimeout = XXXXX at the top of the page which sends the emails. Make sure that it is on a line of of its own and within <% %>-tags. Substitute XXXXX with the number of seconds you want to set the timeout-value to.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

acseven
Starting Member

Portugal
7 Posts

Posted - 25 February 2004 :  11:08:40  Show Profile
I added this line:

<% Server.ScriptTimeout = 3600 %>

before (on inc_mail_html.asp; same thing on inc_mail.asp):

select case lcase(strMailMode)

the browser returns:
quote:

Microsoft VBScript compilation error '800a0400'

Expected statement

/forum2004/inc_mail.asp, line 40

<% Server.ScriptTimeout = 3600
^


Go to Top of Page

acseven
Starting Member

Portugal
7 Posts

Posted - 25 February 2004 :  11:19:23  Show Profile
I removed the <% %>, it apparently works..
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 25 February 2004 :  14:27:52  Show Profile  Visit masterao's Homepage
Im glad you got it working

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07