Skip to main content
March 4, 2009
Question

Email Format without using CFMAIL

  • March 4, 2009
  • 3 replies
  • 712 views
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

This topic has been closed for replies.

3 replies

Participating Frequently
March 16, 2009
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.
March 17, 2009
Hi,

Thanks for your replies.

I'll give it a try.

Cheers,
Yogesh Mahadnac
Inspiring
March 11, 2009
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-268020.html
)

--
Mack
March 9, 2009
Hi,

Any answer on this issue would be most welcome!

Thanks and regards,
Yogesh Mahadnac