Why cfmailpart not including text/plain?


i've given on being able parse text/html base64 encoded messages thunderbird email client.  there seems long standing bug since 2009 prevents me parsing email filters sort them.

 

anway, workaround till gets fixed trying put text in email key elements can parsed sorting filters.  can't figure out why example below strips out text/plain portion.  please forgive formatting.

 

<cfmail to="me@domain.edu" from="webmaster@domain.edu" subject="domain- error page">

                                     <cfmailpart type="text/plain">

                                        #cgi.local_addr#<br/>

                                        #error.browser#<br/>

                                        #error.diagnostics#<br/>

                                        #error.message#<br/>

                                        #error.querystring#<br/>

                                        #error.remoteaddress#<br/>

                                        #error.type#<br/>

                                    </cfmailpart>

                                    <cfmailpart type="text/html">

                                        <cfdump var="#error#" metainfo="no" abort="false">

                                    </cfmailpart>

</cfmail>

 

at time text/html thing visible.  none of text/plain comes through.

how determining this?

 

if you're eyeballing screen in mail client, will see 1 of them: whichever client best supports (html, failing on text if client doesn't support html).

 

i might stating blinding obvious here, you're not clear mean "visible"..?

 

--

adam



More discussions in ColdFusion


adobe

Comments