html with forms, that can then be sent via internal e-mail

If you touch your software enough does it become hardware?

Moderator: Forum Moderators

Fear
Zombie
Zombie
Posts: 2032
Joined: August 6th, 2006, 21:45

Post by Fear »

Woo Elephant Yeah wrote:How easy is it to set up ASP, as that technology is used on something else that is due to be decommisioned and it might be handy to go down that route.
ASP you would use the CDONT object to send mail.

VB.NET would look like:

Code: Select all

dim message as New EmailMessage("ToAddress", "FromAddress")
message.body="Your message body")

dim smtp as new Smtp
smtp.connect
smtp.send(message)
smtp.close

(The code was from memory - but it is something along those lines.)
pixie pie
Cheese Lord
Cheese Lord
Posts: 838
Joined: July 30th, 2005, 23:46
Location: Cambridge, UK

Post by pixie pie »

I was thinking PHP right from the beginning would be the way to go, but ASP and PHP have similar functionality, just that ASP is microsoft.

Also, I'm tending to think, that input form you wrote out, shouldn't each of those textareas be defined with some kind of name? So that you can use each of them, or in that way will they just be turned into a block of text? I've never used them in that way, if you were to use ASP or PHP I think you would need to give them names, and then output those in the email you are sending to *whoever it may be*(Government? Iraq?)
Post Reply