Hi,

I have a strange problem which I cant seem to find the answer to.

Wrote a test app to test the CFX_IMSMAIL tag and all seems to work.  I know
integrate this into the app we are using the tag for and we are getting a
strange result.

Setting the tag up like so:

<CFX_IMSMAIL SMTPFROM="<:From:>" 
                                LOG="yes" 
                                BODY="<:EmailTemplatePlain:>" 
                                HTML="<:EmailTemplateHTML:>" 
                                SAVECOPY="yes" 
        
SAVEDIR="#GetDirectoryFromPath(GetCurrentTemplatePath())#"
                                QUERY="qryIMS"
                                QUERYFIELD="To"
                                QTOKEN_ID="ID"
                                QTOKEN_SUBJECT="Subject"
                                QTOKEN_TO="To"
                                QTOKEN_SENDER="Sender"
                                QTOKEN_FROM="From"
                                QTOKEN_EMAILTEMPLATEHTML="EmailTemplateHTML"
        
QTOKEN_EMAILTEMPLATEPLAIN="EmailTemplatePlain"
                                HEADER_TO="<:To:>"
                                HEADER_FROM="<:From:>"
                                HEADER_SUBJECT="<:Subject:>"
                                HEADER_REPLY_TO="<:ReplyTo:>"
                                HEADER_RETURN_PATH="<:ReplyTo:>"
                                TOKENSTART="<:"
                                TOKENEND=":>">

Generates a file in the current dir which has the correct (or what looks
like) format for a multipart email:

<snip>
--_NextPart_000_1060354722_CFX_iMSMail_3042775519
Content-Type: text/plain; charset="iso-8859-1"

<:EmailTemplatePlain:> 

--_NextPart_000_1060354722_CFX_iMSMail_3042775519
Content-Type: text/html; charset="iso-8859-1"

<:EmailTemplateHTML:> 

--_NextPart_000_1060354722_CFX_iMSMail_3042775519--
.
</snip>


BUT when it reaches the mail client all I get is:

<snip>
This is a multi-part message in MIME format.

--_NextPart_000_1060354722_CFX_iMSMail_3042775519
Content-Type: text/plain; charset="iso-8859-1"

Hi Jedi3 Homer3, 

This is a Personal Message

Get your self a proper email client and stop bothering me!

</snip>

Has this happened to anyone else? What am I doing wrong as my small test app
(not as complex) seems to work OK :(



TIA 

Mikey


==^=======================================================
     This list server is Powered by iMS
   "The Swiss Army Knife of Mail Servers"
   --------------------------------------
To leave this list please complete the form at 
http://www.coolfusion.com/Support/
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/Developers/
List archives: http://wwwmail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [EMAIL PROTECTED]
==^=======================================================


Reply via email to