Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
covretro #1
gremlins in hotmail from cfmail tage
Hi
Newbie so sorry if this is in wrong forum.
We are sendingmultipart mail to mailing lists, works fine except that mail
viewd in the hotmail web browser displays strange characters. usually caused by
html entity code ie .
we can get around those by deleting them and just typing in a space via space
bar.
But we can not get rid of this...
???
which appears at the top of every message sent through cfmail even if the html
message that we send is simplified to the extreme e.g <b>test</b> displays as...
???
testtest
any ideas anyone ?
thanks
covretro Guest
-
Can Format="flash" existist in a <table> tage?
I use an html template for my site with navigation on the top, and and editable region in the center. I am noticing that when ever I try to place a... -
CFMAIL and HTML Mail (Yahoo and Hotmail)
I am having some display issues when using cfmail to send email from a site. The following chars are always present while viewing an HTML message... -
Sending Flash animations to Yahoo/Hotmail accounts, using CFMAIL???
I have a monthly e-newsletter I send out for a client. In the past, it has been working fine, but now I'm trying to send/embed a Flash swf file... -
<cfmail></cfmail> in a script
I am wondering if I can put <cfmail> tags and code within a javascript script. will the browser recognize it, and perform the instructions? ... -
cfmail - Attribute validation error for tag CFMAIL.
I'm getting the error ' Attribute validation error for tag CFMAIL.' on the code below. All its doing is outputting a text string to the TO: field. ... -
Swift #2
Re: gremlins in hotmail from cfmail tag
What does your CFMail tag look like? Show us some code.
Swift
Swift Guest
-
skozey #3
Re: gremlins in hotmail from cfmail tag
That looks like a byte order mark (BOM) that would appear in the top of a UTF-8
encoded document. I'll bet you the HTML generated by CFMAIL is UTF-8 encoded,
and that Hotmail is incorrectly interpreting the BOM and is trying to render it
inline.
I wonder if you could try setting the enctype attribute to UTF-8. Not sure
that would fix it, as I believe Hotmail strips everything outside of the
<body></body> tags and replaces it with its own <html><head>... contents. Worth
a try though...
skozey Guest
-
MattRobertson #4
Re: gremlins in hotmail from cfmail tag
What Skozey said. Looks like a BOM alright.
If you are manually setting the encoding (see below), stop doing that and let
CF do its own thing.
This is CF 6 or higher, right?
Also if you are somehow doing a full html page with the complete wrapper
around the html that would be a bad thing as well.
as in writing a message like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<html><head><title>my message</title>
</head>
<body><p>My Message Here</p></body></html>
You should only insert <p>My Message Here</p> inside of cfmail.
HtH,
--Matt--
MSB Web Systems... [url]http://mysecretbase.com[/url]
Landru! Guide us!
- A Beta 3 person, "The Return of the Archons," stardate 3157.4
BEFORE:
-----------
<cfset variables.ContentValue="text/html; charset=utf-8">
<cfmail
to="you"
from="me"
server="myserver"
subject="stuff"
type="HTML">
yoo hoo
<cfmailparam name="Message-ID" value="<#CreateUUID()#@#myserver#>">
<cfmailparam name="Content-Type" value="#variables.ContentValue#">
</cfmail>
AFTER:
-----------
<cfmail
to="you"
from="me"
server="myserver"
subject="stuff"
type="HTML">
yoo hoo
<cfmailparam name="Message-ID" value="<#CreateUUID()#@#myserver#>">
</cfmail>
MattRobertson Guest
-
covretro #5
Re: gremlins in hotmail from cfmail tag
thanks for the response guys,
I will try a couple of the suggestions here and post some code when I return
from vacation.
One note the html content comes from a form.
We copy the #form.html# content into a file on the server (in case we need to
retrieve it).
We then include this file in the html portion of the cfmultipart tag.
Now the problem goes away if instead of the above we use #form.html# directly
in the cfmultipart (missing out the include step).It seems that the processing
of the include does something that hotmail does not like. Hotmail also displays
html entity codes like  c; as a gremlin.
Thanks in advance,
Gary
covretro Guest



Reply With Quote

