4 Replies Latest reply on Mar 17, 2009 4:19 AM by YogeshM

    Email Format without using CFMAIL

    YogeshM Level 1
      Hi,

      Can someone please advise on the following?

      I need to format a display (see attached code) and then do a mailto (or an alternative method) BUT NOT cfmail because, for security reasons, the web server is on a standalone network with no outgoing mail server.

      How do I proceed?

      I've tried the following (see attached code - LABELLED TRIAL 1) but nothing happens.

      On the other hand, when I tried the code under TRIAL 2 (see attached code), it worked.

      However, I need the display to be formatted in a very specific way (with specific spacing etc), that's why I opted to display everything using a table.

      Kindly advise.

      Thanks and regards,
      Yogesh Mahadnac

        • 1. Re: Email Format without using CFMAIL
          YogeshM Level 1
          Hi,

          Any answer on this issue would be most welcome!

          Thanks and regards,
          Yogesh Mahadnac
          • 2. Re: Email Format without using CFMAIL
            Level 7
            YogeshM wrote:
            > Hi,
            >
            > Can someone please advise on the following?
            >
            > I need to format a display (see attached code) and then do a mailto (or an
            > alternative method) BUT NOT cfmail because, for security reasons, the web
            > server is on a standalone network with no outgoing mail server.
            >
            > How do I proceed?
            >
            > I've tried the following (see attached code - LABELLED TRIAL 1) but nothing
            > happens.
            >
            > On the other hand, when I tried the code under TRIAL 2 (see attached code), it
            > worked.
            >
            > However, I need the display to be formatted in a very specific way (with
            > specific spacing etc), that's why I opted to display everything using a table.

            I'm pretty sure you can't use mailto: to transmit complex formatting to
            the mail program (asking google gave me this page
            http://www.mombu.com/microsoft/net-scripting/t-character-limit-for-body-using-mailto-26802 0.html
            )

            --
            Mack
            • 3. Re: Email Format without using CFMAIL
              Fetch
              The question boils down to:

              Can I send an email if sending email isn't allowed?

              The general answer is "No". If they're blocking SMTP ports and so forth to absolutely make certain that no mail leaves the network then you can't send an email from there. Using the 'mailto:' tag gets around this because you're not actually sending an email from the network - you're passing the data over to the user and it's being thrown into their default email client so they can send it themselves.

              Since MAILTO doesn't format the way you want the only other way I can think of would be a similar pass - i.e. send the data to a page NOT on that secure network and send the message using CFMail from there.
              • 4. Re: Email Format without using CFMAIL
                YogeshM Level 1
                Hi,

                Thanks for your replies.

                I'll give it a try.

                Cheers,
                Yogesh Mahadnac