3 Replies Latest reply on Nov 5, 2008 8:02 AM by health-pact

    CFMAIL to send web page/image with image map

    health-pact
      I can email my web page, with the image and embedded image map, by doing "File"/"Send"/"Page by e-mail" within the browser. It creates an email with the image and hyperlink-map and works very nicely. Page is https://www.health-pact.com/Email_02Nov08.htm

      How do I create the same web page/graphic in my source code and use CFMAIL to send the content (jpg and image map) just like I can do from my browser?
        • 1. Re: CFMAIL to send web page/image with image map
          Level 7
          http://livedocs.adobe.com/coldfusion/8/htmldocs/email_03.html#1126596

          Send an HTML email and make the image source an absolute path, like this:

          <img src="https://www.health-pact.com/images/Email1.jpg" border="0"
          usemap="#Slide2" />

          --
          Ken Ford
          Adobe Community Expert Dreamweaver/ColdFusion
          Adobe Certified Expert - Dreamweaver CS3
          Adobe Certified Expert - ColdFusion 8
          Fordwebs, LLC
          http://www.fordwebs.com
          http://www.cfnoob.com


          "health-pact" <webforumsuser@macromedia.com> wrote in message
          news:gerbc7$i7g$1@forums.macromedia.com...
          >I can email my web page, with the image and embedded image map, by doing
          > "File"/"Send"/"Page by e-mail" within the browser. It creates an email
          > with
          > the image and hyperlink-map and works very nicely. Page is
          > https://www.health-pact.com/Email_02Nov08.htm
          >
          > How do I create the same web page/graphic in my source code and use CFMAIL
          > to
          > send the content (jpg and image map) just like I can do from my browser?
          >
          >

          • 2. Re: CFMAIL to send web page/image with image map
            health-pact Level 1
            That was the first thing I tried, but the email showed up with an image placeholder. I started trying different absolute and relative paths to no avail. Then I tried CFMAILPARAM which got the image to show up, but as an attachment, even though I specified "inline".

            I thought I might have a directory permissions issue, but it is in the root of my web site.

            This seems to be such a simple task to accomplish; I must be doing something really stupid or overlooking something very basic.
            • 3. Re: CFMAIL to send web page/image with image map
              health-pact Level 1
              OK, I am making progress. It seems that running the cfmail page from my testing server is giving me problems. If I upload the page and image to my production server, it finds the image and displays it in the email.