PDA

Click to See Complete Forum and Search --> : Executing a local file on server ?


eL_NiNo
Jun 11th, 2001, 11:51 AM
I have to send mail via SMTP to local users of our intranet;
at first I thought I would make an Activexdll but it doesn't seem to works so I thought of using a ready-to-use .exe to do the task.

What i want to know is if it is possible to launch this app from the ASP server so when a client request a "mail sending" action, it would simply runs this .exe ?

If so, I would like to know if you can write to local file by ASP because this .exe requires a .ini to access its informations...
Any idea ? Reference ?

eL_NiNo
Jun 11th, 2001, 01:30 PM
Anyone ?:D

JoshT
Jun 11th, 2001, 02:19 PM
I wouldn't think you'd have any problems doing it through an active x dll.

eL_NiNo
Jun 12th, 2001, 08:41 AM
Ok thanx !
I'll try it but still my best solution would have to use an activexdll but it seems i can't program it correctly :p

Anyway, thanx !

tonyenkiducx
Jun 12th, 2001, 11:01 AM
the best solution is to use CDONTS... Check out msdn.microsoft.com/library/default.asp for syntax...

If you really want to use activeX, the code is almost identical in VB as it is in ASP, so there not much point.... other than speed issues, but I wont go into that as it doesnt really matter for sending an email..