I need to pass the variables from a third party application form to my own
cfmail. The third party app states them as (3fname, lname, address, state,
city, zip, email')

The form variables are accessible in the request scope or in the
request.serlvetEvent.getValue('fieldName')

Would they be accessible if you used this way?
#request.serlvetEvent.getValue('fname')#
#request.serlvetEvent.getValue('lname')#


<CFIF IsDefined("form.submit")>
        
<cfinsert datasource="myName_dsn" tablename="myTableName" 
            formfields="sender_firstname, sender_lastname, sender_email,
sender_address, sender_city, sender_state, sender_zip,
sender_time, sender_date, sender_ip, sender_msgType">


<CFQUERY NAME="GetRecipients" datasource="myName_dsn">           
                SELECT * 
                FROM recipients
</CFQUERY>

        <cfloop query="GetRecipients">
   
        <cfmail to="#GetRecipients.recip_email#"  
                        from="#form.sender_email#" 
                        subject="MySubject">
        
        
      Dear #GetRecipients.recip_firstname# #GetRecipients.recip_lastname# ,
        

      This is my written note. 

      Yours truly,
          
          
      #sender_firstname# #sender_lastname#
      #sender_address#
      #sender_city#, #sender_state# #sender_zip#
      #sender_email#
        </cfmail>
</cfloop>
        
                

2. I need to pass the ', is there a specific method I need to use to call up
the sava form variables in my own cfmail?

All of your form variables are accessible in the request scope or in the
request.serlvetEvent.getValue('fieldName')




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319860
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to