Cdonts

This is a discussion on "Cdonts" within the Classic ASP section. This forum, and the thread "Cdonts are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 15th, 2005, 10:38
Junior Member
Join Date: Dec 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Cdonts

Hi all, im new here just wanted to start with a question to break the ice

I have created a tiny CDONTS based asp site and I would like it to work on our win2003 server...would it work or would i have trouble?

Thanks
Reply With Quote

  #2 (permalink)  
Old Dec 15th, 2005, 13:04
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Cdonts

yeah i think so..
Reply With Quote
  #3 (permalink)  
Old Dec 15th, 2005, 18:07
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: Cdonts

You will need to USE CDOSYS for sending emails on windows server 2003.

CDOSYS Example:-
Code: Select all
<%
" Create the e-mail server object 
Set objCDOSYSMail = Server.CreateObject("CDO.Message") 
Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration") 
" Outgoing SMTP server 
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/con...ion/smtpserver") = "localhost" 
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/con...smtpserverport") = 25 
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/con...tion/sendusing") = 2 
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/con...nectiontimeout") = 60 
objCDOSYSCon.Fields.Update 
" Update the CDOSYS Configuration 
Set objCDOSYSMail.Configuration = objCDOSYSCon 
objCDOSYSMail.From = "you @ yourdomain.com"
objCDOSYSMail.To = "recipient @ theirdomain.com"
objCDOSYSMail.Subject = "This is my subject for my test message"
objCDOSYSMail.HTMLBody = "This is the body "
objCDOSYSMail.Send 
"Close the server mail object 
Set objCDOSYSMail = Nothing 
Set objCDOSYSCon = Nothing 
%>
HTH
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
  #4 (permalink)  
Old Dec 15th, 2005, 23:47
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Cdonts

haha i slipped up there eh...dang..
Reply With Quote
  #5 (permalink)  
Old Dec 21st, 2005, 08:12
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: Cdonts

Quote:
Originally Posted by benbramz
haha i slipped up there eh...dang..
It's ok... you're a windows n00b!
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
  #6 (permalink)  
Old Dec 21st, 2005, 13:19
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Cdonts

yeah well. ive never ran a windows 2003 server. and im not about to...haha
Reply With Quote
Reply

Tags
cdonts

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
html cdonts from access benbramz Classic ASP 6 Jun 14th, 2005 22:45
CDONTS Email ekendricks Classic ASP 2 Jan 29th, 2004 08:54
MIME type for email with CDONTS GillBates Classic ASP 8 Dec 1st, 2003 15:19


All times are GMT. The time now is 04:46.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43