| Author |
Topic Search Topic Options
|
spider975
Groupie
Joined: 02 July 2007
Location: Italy
Status: Offline
Points: 52
|
Post Options
Thanks(0)
Quote Reply
Topic: New features required! Posted: 08 November 2007 at 2:46pm |
Hi Borg,
in next release, can you add Automatic send newsletter features?
It would be very really helpful, when you want to send a newsletter on automatically at night!
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2007 at 5:30pm |
|
This would be great, but one limitation of ASP is that you can not schedule an ASP file to run. This means that such an option is not possible.
|
|
|
 |
MortiOli
Senior Member
Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
|
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2007 at 6:40pm |
|
Would you be able to schedule a Windows task to call an ASP file which, when called, sends the newsletter to the pre-selected recipients? Obviously you'd need direct access onto the server to do this.
|
 |
spider975
Groupie
Joined: 02 July 2007
Location: Italy
Status: Offline
Points: 52
|
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2007 at 7:02pm |
|
Mortioli, I have access onto server, but how i can send the newsletter with pre-selected recipients?
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2007 at 8:24pm |
|
You can't use a schedule task to call an ASP file, as it needs to run through a web server and be called using HTTP through the server.
I have seen it done using a schedule task to call a batch file which in turn called a Windows Script Host file, which then used a WinHttp object to call the ASP file.
As you can imagine it was a bit of a hit and miss hack, but the only way I have ever seen to do this.
You would need to find someway to build some type of security into it, so that a hacker couldn't just call the file and sendout the newsletter at the wrong time. I'd imagine this with the method above would be quite difficult to implement.
|
|
|
 |
MortiOli
Senior Member
Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
|
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2007 at 8:35pm |
|
How about an SQL DTS to call the page etc? That way it could be used on shared hosting? I'm just throwing ideas into the wind...
I agree about the hacker calling the file. I suppose once the newsletter is generated, a randomly named ASP file could be created, which would launch the newsletter - ie; 153aAd1s3aafKOP.asp
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 09 November 2007 at 8:47am |
|
To create a randomly generated file you need to have write permissions on the server, which many people disabled for security reasons.
|
|
|
 |
spider975
Groupie
Joined: 02 July 2007
Location: Italy
Status: Offline
Points: 52
|
Post Options
Thanks(0)
Quote Reply
Posted: 09 November 2007 at 8:52am |
|
I have full control on the server!
|
|
|
 |