Get ready for BLACK FRIDAY shopping starting in

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" <> "" then
Set objCDOMail = Server.CreateObject("CDONTS.NewMail"
objCDOMail.To = FP_SavedFields("email1" & ("@comtekmail.com,"
objCDOMail.From = " "
objCDOMail.Subject = ("COMTek Billing notification "
objCDOMail.Body = ("Account Name: " & FP_SavedFields("customer" & (", As requested we have charged your card $" & FP_SavedFields("payment" & (" for your COMTek Powerline Broadband Service. This payment is for service up until " & FP_SavedFields("subends" & (". Account number: 9410" & FP_SavedFields("ID2" &(" Billing Cycle: " & FP_SavedFields("cycle" & (". Thank you for your payment."
objCDOMail.BodyFormat = 1
objCDOMail.MailFormat = 1
objCDOMail.Send
Set objCDOMail = Nothing
End If
%>

Best regards,

Zack

Reply to this topic