Skip to main content
Inspiring
November 13, 2008
Question

Problems with sending a email

  • November 13, 2008
  • 1 reply
  • 442 views
Ok, basically I'm generating a .htm file with CF info and saving the file
with <cfsavecontent>

That file gets generated just fine, I can pull it up online in the folder
it was saved to, and it looks perfect.

I then send it out by:

<cfmail to="#arguments.mail#"
from="info@site.com"
username="user"
password="password"
subject="Tournament Confirmation"
mailerid="site.com"
charset="utf-8"
type="html">
<cfinclude template="../EventEmail/confirmEmail.htm">
</cfmail>

The email gets delivered just fine, in most cases. In Outlook it asks me
if I want to download the pictures, which it does, and all looks fine until
I try to print it. There isn't a background....what happened to the background
color??

Same thing in Hotmail/MSN/Yahoo.....the background color doesn't come across
at all, so the mail looks odd.

I have the <img> tags set like <IMG src=" http://www.site.com/images/logo1.gif">
and they appear fine, just not the background.

Am I missing something here? I know I've received emails from other companies
that have full color backgrounds......how is this done??


    This topic has been closed for replies.

    1 reply

    Inspiring
    November 13, 2008
    steve grosz wrote:
    > Ok, basically I'm generating a .htm file with CF info and saving the
    > file with <cfsavecontent>
    >
    > That file gets generated just fine, I can pull it up online in the
    > folder it was saved to, and it looks perfect.
    >
    > I then send it out by:
    >
    > <cfmail to="#arguments.mail#"
    > from="info@site.com"
    > username="user"
    > password="password"
    > subject="Tournament Confirmation"
    > mailerid="site.com"
    > charset="utf-8"
    > type="html">
    > <cfinclude template="../EventEmail/confirmEmail.htm">
    > </cfmail>
    >
    > The email gets delivered just fine, in most cases. In Outlook it asks
    > me if I want to download the pictures, which it does, and all looks fine
    > until I try to print it. There isn't a background....what happened to
    > the background color??
    >
    > Same thing in Hotmail/MSN/Yahoo.....the background color doesn't come
    > across at all, so the mail looks odd.
    >
    > I have the <img> tags set like <IMG
    > src=" http://www.site.com/images/logo1.gif"> and they appear fine, just
    > not the background.
    >
    > Am I missing something here? I know I've received emails from other
    > companies that have full color backgrounds......how is this done??

    I don't know about Outlook, but I presume it can be the same as the
    Internet Explorer browser I expect you are using and that Outlook
    probably taps to render HTML content. When printing a web page, which
    is all Hotmail, MSN and Yahoo are, the default print configuration is to
    *NOT* print background colors or images. An ink saving default. You
    have to change this in your print preferences in the browser to get the
    results you want.
    Inspiring
    November 13, 2008
    Hello Ian,

    What about the background not even showing up in Hotmail/Yahoo when previewing
    the email????? The images appear just fine, but the background colors are
    missing(the overall page background and the table colors).....

    > steve grosz wrote:
    >
    >> Ok, basically I'm generating a .htm file with CF info and saving the
    >> file with <cfsavecontent>
    >>
    >> That file gets generated just fine, I can pull it up online in the
    >> folder it was saved to, and it looks perfect.
    >>
    >> I then send it out by:
    >>
    >> <cfmail to="#arguments.mail#"
    >> from="info@site.com"
    >> username="user"
    >> password="password"
    >> subject="Tournament Confirmation"
    >> mailerid="site.com"
    >> charset="utf-8"
    >> type="html">
    >> <cfinclude template="../EventEmail/confirmEmail.htm">
    >> </cfmail>
    >> The email gets delivered just fine, in most cases. In Outlook it
    >> asks me if I want to download the pictures, which it does, and all
    >> looks fine until I try to print it. There isn't a background....what
    >> happened to the background color??
    >>
    >> Same thing in Hotmail/MSN/Yahoo.....the background color doesn't come
    >> across at all, so the mail looks odd.
    >>
    >> I have the <img> tags set like <IMG
    >> src=" http://www.site.com/images/logo1.gif"> and they appear fine,
    >> just not the background.
    >>
    >> Am I missing something here? I know I've received emails from other
    >> companies that have full color backgrounds......how is this done??
    >>
    > I don't know about Outlook, but I presume it can be the same as the
    > Internet Explorer browser I expect you are using and that Outlook
    > probably taps to render HTML content. When printing a web page, which
    > is all Hotmail, MSN and Yahoo are, the default print configuration is
    > to *NOT* print background colors or images. An ink saving default.
    > You have to change this in your print preferences in the browser to
    > get the results you want.
    >