This is a discussion on "formmail equivalent" within the Classic ASP section. This forum, and the thread "formmail equivalent are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
formmail equivalent
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
formmail equivalent
Hi,
Does any body know a general script for mailing forms which I can use on a windows server. I need something like formmail.pl (which apparently doesn't run on a windows server). I need it to simply forward the contents of all form variables submitted to it without first specifying what form variables to look for. I have experience with CDONTS and CDOSYS, but am not sure if it is possible to re-use the same script for different forms with different fields (as you can with formmail). Is it possible to dynamically detect the names of form variables submitted to a page? My server will run ASP or PHP Thanks |
|
|
|
#2
|
||||
|
||||
|
can u not just use the php mail() function?
|
|
#3
|
|||
|
|||
|
Possibly...
I'm not up on php, I'm afraid I'm fairly rooted in asp. But if the php mail() function will forward unspecified form variables, then I'll look into it. Thanks for the heads up. |
|
#4
|
|||
|
|||
|
#5
|
|||
|
|||
|
Cheers for this smokie, I reckon I'm sorted.
I'm happy with the following code which lets me write a list of all present form variables, but the rest of the script looks worth implementing too. Here's some useful script for anybody else who is looking to work with dynamic field names:
|
|
#6
|
|||
|
|||
|
or you can do it like this:
|
![]() |
| Tags |
| formmail, equivalent |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ever get the developer's equivalent of writer's block? | Donny Bahama | PHP Forum | 8 | May 8th, 2007 12:24 |
| Formmail.asp help | MarkSensei | Classic ASP | 1 | Jan 22nd, 2006 22:48 |
| Need HELP - with formmail | bplatosz | Web Page Design | 4 | Nov 21st, 2005 19:01 |
| Equivalent of Select Case in Php ? | Andy K | PHP Forum | 1 | Aug 19th, 2005 08:21 |