Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Email Format without using CFMAIL

Guest
Mar 04, 2009 Mar 04, 2009
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

TOPICS
Advanced techniques
653
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 08, 2009 Mar 08, 2009
Hi,

Any answer on this issue would be most welcome!

Thanks and regards,
Yogesh Mahadnac
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 11, 2009 Mar 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 15, 2009 Mar 15, 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 17, 2009 Mar 17, 2009
LATEST
Hi,

Thanks for your replies.

I'll give it a try.

Cheers,
Yogesh Mahadnac
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources