Forums
This topic is locked
help needed with syntax change
Posted 21 Jun 2005 20:13:58
1
has voted
21 Jun 2005 20:13:58 zack morris posted:
Hi,I need some desperate help with with a syntax change. I want to convert some code from CDONT's to CDOSYS. The code is pasted below: FP_SavedFields has to be sent in the mail. Any help will be much appreciated.
<% If FP_SavedFields("customer"

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

objCDOMail.To = FP_SavedFields("email1"


objCDOMail.From = " "
objCDOMail.Subject = ("COMTek Billing notification "

objCDOMail.Body = ("Account Name: "











objCDOMail.BodyFormat = 1
objCDOMail.MailFormat = 1
objCDOMail.Send
Set objCDOMail = Nothing
End If
%>
Best regards,
Zack