I was aware of this, but I don't regard this as a bug. Probably the best practice is try not to use only one <cfmailpart>tag.
FYI, with only one <cfrmailpart> of HTML type, <cfmail> will add blank text part. Some emailers render this multi part email as blank. Terry On 06/07/05, Steve Onnis <[EMAIL PROTECTED]> wrote: > > ok > > Can someone else please test this for me so i know its not just me > > If i create a CFMAIL email like this > > <cfmail to="[EMAIL PROTECTED]" > from="[EMAIL PROTECTED]" > subject="subject line" > <cfmailpart type="text/plain">this is a message</cfmailpart> > </cfmail> > > would then create an email that looks like this > > /////////////////////////////////////////////// > from: [EMAIL PROTECTED] > to: [EMAIL PROTECTED] > subject: subject line > type: text/plain; charset=UTF-8 > X-Mailer: ColdFusion MX Application Server > bodypart-start: text/plain; charset=UTF-8 > body: this is a message > bodypart-end: text/plain; charset=UTF-8 > bodypart-start: text/plain; charset=UTF-8 > body: > body: > bodypart-end: text/plain; charset=UTF-8 > ///////////////////////////////////////////// > > Now is it just me or is it creating 2 seperate text/plain sections? > > whats with this? > > from what i can gather this is the issue. > > By default the CFMAIL type attribute is HTML. If only 1 mime type is set in > the email like above, it will add another mime area in the email for what > ever the type attribute is set to. > > So even if i was to change the type attribute to HTML and i send a text only > email using CFMAILPART, it will add its own html section to the bottom of > the email. > > Why is this a problem? > > Because some email clients use the last mime section of the email for > display, so if i send a text only email, then the recipient will see nothing > cause the last mime section is empty. > > Is this a recorded bug? If not is should be as it is a problem in both CFMX > and CF7. > > Steve Onnis > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
