Cfx_imsmail

I know this probably isn't the best place to post about this, but I'm having all sorts of problems using the forums at coolfusion.com, and the listed support email addresses kick back as being non-existent.  If this is an inappropriate place for this post, I apologize and ask that you point me to a place where I may get a solid answer
I want to use a cfx_imsmail tag (inFusion Mail Server custom tag) to replace a cfmail tag that uses a query attribute.  I am using the query and queryfield attributes to automatically loop a query.  My problem lies in the body and/or html attributes of the cfx_imsmail tag.  I want to put in place some link tracking logic and also a <cfinclude> tag that calls a dynamic template name.  I have tried to set up this data in a token_emailbody attribute, directly in the body attribute, and also directly in the html attribute, but nothing seems to work for me.
I have had success looping the cfx_imsmail tag for my query, replacing query and queryfield attributes with the smtpto attribute, and using a cfsavecontent tag before the cfx_imsmail tag to build the content for the html attribute.  I do not want to do it this way, as this is far less efficient than using the query and queryfield attributes.
a dumbed-down code snippet is attached below:
        <cfx_imsmail
            header_to="#myquery.to_email#"
            header_from="#myquery.from_email#"
            header_subject="#myquery.subject#"
            smtpcc=""
            smtpbcc=""
            failto="[email protected]"
            parsetokens="yes"
            renderplaintext="no"
            log="yes"
            priority="0"
            query="myquery"
            queryfield="to_email"
            html="
                    <cfsilent>
                        <!--- tracking logic here --->
                        <cfset ...>
                    </cfsilent>
                    <!--- dynamic include here --->
                    <cfinclude template='...'>
                    <cfsilent>
                        <!--- extra cfinvoke where I am erroring --->
                        <cfset var.myvariable = 'blah blah' ) >
                        <cfinvoke component='my_component' method='do_this' >
                            <cfinvokeargument name='this_argument' value='#var. myvariable#' />
                        </cfinvoke>
                    </cfsilent>
        ">
Please note that the data contained in the html attribute of the cfx_imsmail tag in the above code example was taken directly from the contents of the existing cfmail tag that I'm trying to replace.  The cfmail tag works without any problems at all times.
I keep getting an error on line 57 stating that a variable is undefined, even though I have the variable being defined on line 54.  Is there anything I can do to get my cfml to behave properly while inside of the cfx_imsmail tag?
Again, if this is an inappropriate location for this post, I apologize.
Thanks.

You must register CFX custom tags in the CF Administrator.
Until you do, they will not be found by the server. That's what the
error message is trying to tell you.

Similar Messages

  • Error processing CFX custom tag "CFX_iMSMail".

    Hi
    I am testing a CF application and this is the error I get.,
    when I am trying to 'register for a certain event'.
    Error processing CFX custom tag "CFX_iMSMail".
    'The CFX custom tag "CFX_iMSMail" was not found in the custom
    tag database. Please be sure to add custom tags to the database
    before using them. If you have added your tag to the database then
    you should check the spelling of the tag within your template to
    insure that it matches the database entry.'
    Text
    The following are the lines of code in one of my cf pages
    that seem to be responsible for causing the error.
    486 : spooldir="#application.mailPath#/Out/"
    487 : priority="0"
    488 : smtpfrom="#listPart.contactEmail#"
    489 : header_from="#Trim(listPart.contactName)#
    <#Trim(listPart.contactEmail)#>"
    Is there any fix for the CFX custom tag problem or is there
    anything I am missing. I am using CF 7.0 on Windows XP
    thanks in advance

    You must register CFX custom tags in the CF Administrator.
    Until you do, they will not be found by the server. That's what the
    error message is trying to tell you.

Maybe you are looking for