PC Review


Reply
Thread Tools Rate Thread

Is this CDO as opposed to CDONT

 
 
SS
Guest
Posts: n/a
 
      26th Jun 2006
Hi

I have the following script which I thought was CDONT's but looking at the
script it might be CDO?

<%

Set objCDOMail = Server.CreateObject("CDONTS.NewMail")

objCDOMail.To = "(E-Mail Removed)"

objCDOMail.From = "NewCallLogger"

objCDOMail.Subject = FP_SavedFields("ManAuthorise")

strBody = strBody & "ID: " & FP_SavedFields("ID") & VbCrLf



I've tried changing it to the following and the information goes through to
the database but not the mail account



<%



Set objMessage = CreateObject("CDO.Message")

objMessage.To = "(E-Mail Removed)"



objMessage.From = "NewCallLogger"

objMessage.Subject = FP_SavedFields("ManAuthorise")

strBody = strBody & "ID: " & FP_SavedFields("ID") & VbCrLf

but to no avail?



Any ideas would be great?



Cheers Shona




 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      26th Jun 2006
For a tutorial on CDO see
http://www.interlacken.com/winnt/tip...ow.aspx?tip=46

PS
It won't send mail until you add a send command

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPa...3/Default.aspx
_____________________________________________


"SS" <(E-Mail Removed)> wrote in message news:e7o5gl$89b$(E-Mail Removed)...
| Hi
|
| I have the following script which I thought was CDONT's but looking at the
| script it might be CDO?
|
| <%
|
| Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
|
| objCDOMail.To = "(E-Mail Removed)"
|
| objCDOMail.From = "NewCallLogger"
|
| objCDOMail.Subject = FP_SavedFields("ManAuthorise")
|
| strBody = strBody & "ID: " & FP_SavedFields("ID") & VbCrLf
|
|
|
| I've tried changing it to the following and the information goes through to
| the database but not the mail account
|
|
|
| <%
|
|
|
| Set objMessage = CreateObject("CDO.Message")
|
| objMessage.To = "(E-Mail Removed)"
|
|
|
| objMessage.From = "NewCallLogger"
|
| objMessage.Subject = FP_SavedFields("ManAuthorise")
|
| strBody = strBody & "ID: " & FP_SavedFields("ID") & VbCrLf
|
| but to no avail?
|
|
|
| Any ideas would be great?
|
|
|
| Cheers Shona
|
|
|
|


 
Reply With Quote
 
SS
Guest
Posts: n/a
 
      26th Jun 2006
Thanks

Can you tell me does the CDO script still go on the confirmation page?

Cheers Shona

"Stefan B Rusynko" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> For a tutorial on CDO see
> http://www.interlacken.com/winnt/tip...ow.aspx?tip=46
>
> PS
> It won't send mail until you add a send command
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.frontpagemvps.com/FrontPa...3/Default.aspx
> _____________________________________________
>
>



 
Reply With Quote
 
Andrew Murray
Guest
Posts: n/a
 
      26th Jun 2006
Whether the script shows a confirmation page, that depends on the script
you're using.


"SS" <(E-Mail Removed)> wrote in message
news:e7o8lv$aup$(E-Mail Removed)...
> Thanks
>
> Can you tell me does the CDO script still go on the confirmation page?
>
> Cheers Shona
>
> "Stefan B Rusynko" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> For a tutorial on CDO see
>> http://www.interlacken.com/winnt/tip...ow.aspx?tip=46
>>
>> PS
>> It won't send mail until you add a send command
>>
>> --
>>
>> _____________________________________________
>> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
>> "Warning - Using the F1 Key will not break anything!" (-;
>> To find the best Newsgroup for FrontPage support see:
>> http://www.frontpagemvps.com/FrontPa...3/Default.aspx
>> _____________________________________________
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MVC as opposed to MVP Ben Microsoft C# .NET 4 10th Apr 2008 06:44 PM
What Does +IIF Do as Opposed to IIF? james.igoe@gmail.com Microsoft Access 5 7th Mar 2007 07:52 PM
cdo or cdont SS Microsoft Frontpage 2 23rd Jun 2006 04:03 PM
Cdont's script Shona Microsoft Frontpage 2 27th Jan 2004 04:53 PM
NDR error using CDONT in VB app Bill Nguyen Microsoft Windows 2000 DNS 1 6th Jan 2004 12:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:16 PM.