Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
E-mail
Message
From
20/12/2001 06:05:46
 
 
To
20/12/2001 01:35:17
Yan Kai On
Welkin System Ltd.
Tuen Mun, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Re: E-mail
Miscellaneous
Thread ID:
00596577
Message ID:
00596642
Views:
21
Hi!

You get the timeout error because some tool you use cause dialog state. This can happen, for example, when you use Outlook through automation to send email and there is an error.

In such case try to use VB code first then move it to ASP. When using VB code, you will be able to test and see what is wrong with the code.

Why VFP?

Well, you can use VFP, but this will require to go out o ASP if you want everything written in VFP. You can create also VFP COM object and use it in ASP page by calling its method to send email and pass parameters from ASP page to this method. Anyway, why to do this when you really do not know where is the error? I beleive the error is somewhere inside of the mailing agent you use for mailing, not in ASP, so when you will move to VFP, there could be the same error.

If you know for sure that timeout error is happened because a lot o information processed that takes a lot of time, then you can increase the timeout setting for scripts for ASP pages. You can do this in registry settings (or somewhere else? I do nto remember exactly - read documentation for ASP). You can also organize something like scheduling in such case - return ASP page to user that his request is under processing and write a record into some table. Another process (VFP service or so) will get that record and run very lengthy process to send email or a set of emails or whatever that takes a lot of time. This way you will free WEB server and ASP from that huge work and pu it into separate process.

HTH.

>Hi everybody,
>
>Now, i am using a asp program to send mass e-mail. The program is loading a list of e-mail address from text file to the field BCC in my e-mail. I found that the asp have a time-out error occur if my list is over 300 addresses. I would like to re-write that program in VFP.
>
>Does there any tools can help me to write that program?
>
>Regards,
>Antony
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform