Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with CDONTS... please help!!

Status
Not open for further replies.

chassid

MIS
Aug 27, 2000
58
US
All,

I am trying to sent an automatic e-mail from a form. The problem I am experiencing is with CDONTS. What happens is the form gets loaded and it tells me the e-mail was sent, but I never get the e-mail!!! I think the problem may be that the CDONTS is not loaded correctly on my server. I have check my server and it does have the CDONTS .dlls, but I am not sure how to get them installed or check if they are installed correctly.

Does anyone know how to troubleshoot this problem? How to see if the CDONTS.dll is installed correctly and how could I fix this problem?

Any help will be greatly appreciated,
Daniel
 
I found something on the WEB

<%
Dim MyBody
Dim MyCDONTSMail
%>

<%
Set MyCDONTSMail = CreateObject(&quot;CDONTS.NewMail&quot;)
MyCDONTSMail.From= &quot;somebody@nowhere.com&quot;
MyCDONTSMail.To= &quot;nobody@nowhere.com&quot;
MyCDONTSMail.Subject=&quot;This is a Test&quot;
MyBody = &quot;Thank you for ordering that stuff&quot; & vbCrLf
MyBody = MyBody & &quot;We appretiate your business&quot; & vbCrLf
MyBody = MyBody & &quot;Your stuff will arrive within 7 business days&quot;
MyCDONTSMail.Body= MyBody
MyCDONTSMail.Send
set MyCDONTSMail=nothing
%>
-------------------

Also here is the page I got it from if you need more input.


DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
The problem could be with your SMTP service on the server. The mail could be sitting within one of the directories under
Code:
C:\inetpub\mailroot
- depending on which directory your mail is residing in will either supply you with an answer or allow a better starting point for solving the problem.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top