473,378 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Form-to-Email ASP scripts - what's the best one?

Hey...
thinking that I may need to upgrade my skillset when it comes to ASP based
form-to-email scripting.

is CDOSYS the best still on a w2k3/iis6 box?

if so, can someone point me at the shortest, easiest to configure example
that positively works for sure in this environment?

i sigh, as CDONTs used to work perfectly for me and I hated that it was
dep'd by MS....

oh, and if CDOSYS is only one way - and maybe not the best way - is there a
component that will work better/quicker with an easy to use install and
config learning curve?

oh, why do I ask...gosh...got LOTSA troubles trying to get CDOSYS to work
efficiently on a new server...and thinking that there may be another answer
out there...

pointers here lads?

Jim
Feb 27 '08 #1
3 1957
"JVRudnick" <JV*******@discussions.microsoft.comwrote in message
news:DF**********************************@microsof t.com...
Hey...
thinking that I may need to upgrade my skillset when it comes to ASP based
form-to-email scripting.

is CDOSYS the best still on a w2k3/iis6 box?

if so, can someone point me at the shortest, easiest to configure example
that positively works for sure in this environment?

i sigh, as CDONTs used to work perfectly for me and I hated that it was
dep'd by MS....

oh, and if CDOSYS is only one way - and maybe not the best way - is there
a
component that will work better/quicker with an easy to use install and
config learning curve?

oh, why do I ask...gosh...got LOTSA troubles trying to get CDOSYS to work
efficiently on a new server...and thinking that there may be another
answer
out there...

pointers here lads?

CDOSYS is the tool to learn. Typically its already installed on Win2K3 box.

Its pretty simple to use, especially if you have configured the mail
settings of your website in IIS manager. The following would a be minimal
example:-
Dim oMsg : Set oMsg = CreateObject("CDO.Message")

oMsg.To = "Bloke <bl***@somewere.com>"
oMsg.Subject = "Test"
oMsg.HTMLBody = "<html><body>Hello World</body></html>"
oMsg.Send
--
Anthony Jones - MVP ASP/ASP.NET
Feb 28 '08 #2
Ah...thanks Anthony.

However I noted one item you mentionned as "especially if you have
configured the mail settings of your website in IIS manager..."

Exactly what are you referring to...I don't know where you might mean for
that?

?

Jim

PS will give that script a try too but I noted also that you made no call to
the libraries either....or any of my own "normal" code items... ? will this
still work then?

"Anthony Jones" wrote:
"JVRudnick" <JV*******@discussions.microsoft.comwrote in message
news:DF**********************************@microsof t.com...
Hey...
thinking that I may need to upgrade my skillset when it comes to ASP based
form-to-email scripting.

is CDOSYS the best still on a w2k3/iis6 box?

if so, can someone point me at the shortest, easiest to configure example
that positively works for sure in this environment?

i sigh, as CDONTs used to work perfectly for me and I hated that it was
dep'd by MS....

oh, and if CDOSYS is only one way - and maybe not the best way - is there
a
component that will work better/quicker with an easy to use install and
config learning curve?

oh, why do I ask...gosh...got LOTSA troubles trying to get CDOSYS to work
efficiently on a new server...and thinking that there may be another
answer
out there...

pointers here lads?


CDOSYS is the tool to learn. Typically its already installed on Win2K3 box.

Its pretty simple to use, especially if you have configured the mail
settings of your website in IIS manager. The following would a be minimal
example:-
Dim oMsg : Set oMsg = CreateObject("CDO.Message")

oMsg.To = "Bloke <bl***@somewere.com>"
oMsg.Subject = "Test"
oMsg.HTMLBody = "<html><body>Hello World</body></html>"
oMsg.Send
--
Anthony Jones - MVP ASP/ASP.NET
Feb 28 '08 #3
"JVRudnick" <JV*******@discussions.microsoft.comwrote in message
news:C1**********************************@microsof t.com...
Ah...thanks Anthony.

However I noted one item you mentionned as "especially if you have
configured the mail settings of your website in IIS manager..."

Exactly what are you referring to...I don't know where you might mean for
that?

The server extensions tab of the site properties. You can define values
which are used as default values for the configuration object on the
CDO.Message.

--
Anthony Jones - MVP ASP/ASP.NET
Feb 28 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Krista | last post by:
Hi , hope u guys can help me out ... Can i do like that in php file? <form....> (doesnt work) <form....> ............ ...
2
by: CK | last post by:
Hi All, I encounter one problem with my asp scrits. In my HTML file, I have two forms. Which is <form name="form1".....> </form> and <form name = "form2...> and using Post Method. When I use the...
4
by: Steve | last post by:
Hi everyone, I have a test page. When I press the button, it bring form.html, which is fine. When I press Enter key in the textbox, it gives me an error saying this.form.cmd is not an object. ...
2
by: Gran | last post by:
Hi, Im using Access 97, and I have two subforms which have a total for the query'd data. I then go and total the two together on the main form. But, when one has no data it brings up an error. I...
5
by: Xarky | last post by:
Hi, I am creating a windows form, and when a specified event occurs (button click), I am hiding the windows form and opening a new windows form. When opening the new windows form and closing...
3
by: Sanjay Minni | last post by:
Hi I have several different types of form e.g. - custmaster - prodmaster - invoice all inherited from different form types
3
by: Tom | last post by:
Hi, I have a web page which has server side include for top, left, main and bottom.aspx pages. In the left.aspx, there is a login web control which has a pair of form tags. In the main...
10
by: Partha Protim Roy | last post by:
Hello, My problem is: I got a Login form, so once the user enter vaild Username & Password another form opens. How do I close the login form?
3
by: Bob | last post by:
I haver a user login form (winforms app using vs2005 in VB.NET). After succesfull validayion of user I want to open a first form and close the loging form that was used, If I write If...
18
by: NavinM | last post by:
I have a couple of forms that are misbehaving in FireFox, but work fine in IE. when i do submit( with submit button) a javascript function validates all of the fields entered, and stops the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.