One simple thing you can do is to try and use single quotes in the value
attribute:
<INPUT TYPE="hidden" NAME="MailFrom" VALUE='#getDetail.FROM#'>

-----Original Message-----
From: Paul [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 12:37 PM
To: CF-Talk
Subject: manipulating mail server / CFPOP variables...


I am simply passing getdetail.FROM variable into the TO text box of a reply
page, however the variables value is ie. "Paul" <[EMAIL PROTECTED]> so when
getdetail.FROM is past to the reply page its value is showing up in the
debugger as "Paul", is there a way I can pass just the email address? (whats
in between the angle brackets?)
Here are some snippets from my current code...

<!---original page -->

<FORM ACTION="reply.cfm" METHOD="POST">
<INPUT TYPE="hidden" NAME="MailFrom"
VALUE="#HTMLEditFormat(getDetail.FROM)#">
</FORM>

<!---reply.cfm --->

TO: <INPUT TYPE="Text" NAME="MailTo"
VALUE="<cfoutput>#Form.MailFrom#</cfoutput>">

<!---END--->

 currently "> shows up directly beside the text box ">, however if I switch
the value from Form.MailFrom, to say Form.userName (which is not originally
coming from the mail server) then the variable displays properly? Any ideas?

I appreciate the help.

-Paul





______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to