Wrox Programmer Forums
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 3rd, 2004, 05:46 PM
Registered User
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a saved Outlook customized form Arsi BOOK: Professional Outlook 2007 Programming ISBN: 978-0-470-04994-5 3 January 11th, 2012 04:47 PM
CDONTS and CDOSYS hamproof Classic ASP Databases 0 August 24th, 2007 01:37 PM
CDOSYS Bob Bedell Pro VB 6 1 February 14th, 2006 10:16 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.