Sure, sorry about that. Two examples are below.

It seems that calling a function adds any whitespace in the function. This
just started three days ago, I presume when my server was updated to cf 7.0.

Do you know a way to turn off this "feature'? (Oh, and adding a <cfreturn>
to the functions doesn't make a difference.)

Thanks,
Derek

Example 1:<!---sends an email with 3 blank lines then a 1.--->
##code
<cffunction name="getProductURL">
        <cfset urls ="">
        <cfset rootURL = "http://www.guitar-learning.com";>
</cffunction>
        <cfmail to = "[to email]
          from = "[from email]"
          subject = "Test"
                  server = "[sorry]"
                  username="[sorry]"
                  password="[sorry]"
                  >#getProductURL()#1
      </cfmail>
##/code

Example 2:      <!---sends an email with 2 and no extra lines.
                notice the lack of whitespace in the function   --->
##code
<cffunction name="getProductURL"><cfset urls =""><cfset rootURL =
"http://www.guitar-learning.com";></cffunction>
        <cfmail to = "[to email]
          from = "[from email]"
          subject = "Test"
                  server = "[sorry]"
                  username="[sorry]"
                  password="[sorry]"
                  >#getProductURL()#2
      </cfmail>
##/code



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:767
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to