Opening outlook with CDOSYS
I have been trying to send e-mail using CDOSYS. I have successfully been able to format my body in the email by us <p> tags when I send the emal but when I try to open outlook from a malito tag the string variable sends the formatting <p> tags also. So then I tried the vbCrLf tags to do my formatting for me for the string variable if formatted the input , but alas it does not send the formatting with the line breaks.
My Code for formatting
body = vbCrLf
for each name in fieldOrder
body = body _
& "<p>" &name & ":" _
& Request.Form(name) _
& "</p>" &vbCrLf
next
body = body & vbCrLf
and
body = vbCrLf
for each name in fieldOrder
body = body _
& vbCrLf & vbCrLf _
& name & ":" _
& Request.Form(name) _
& vbCrLf
next
body = body & vbCrLf
<a href="mailto:<%=Request.Form("_recipients")%>?subj ect=<%=Request.Form("_subject")%>&Body=body%> ">
Any insight on this?
Osc
|