• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

WEB Masters: CDONTS is slow at sending Email

Daemon_UK

Senior member
Ok.

I've got this script to send email using IIS..

As you can see there is nothing wrong with it.

What is wrong, is that it takes upto 30 minutes for the receipent to recieve the message..

However if I use JMAIL a free component, it takes hardly any time at all!!

Can ne1 tell me how to speed up CDONTS, I don't want to use a 3rd Party component!
 
<%
' Create an instance of the NewMail object.
Set objMail = Server.CreateObject(&quot;CDONTS.NewMail&quot😉
objMail.To = to 'set 'To' address
objMail.From = from 'set 'From' address
objMail.Subject = &quot;Oi This is a test&quot; 'set the subject line
objMail.Body = &quot;Test Message&quot; 'set the message content
objMail.Send 'and send the message
Set objMail = Nothing 'then destroy the component
%>
 
Back
Top