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
|
|
|
|