Forum Moderators: open

Message Too Old, No Replies

mailto: predefined body

are there means to format as html?

         

Oliver Henniges

10:13 am on Feb 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi all,

I am currently trying to define a predefined body-text in a mailto: command under html.

Ideally I'd love to insert a complete html-table into the body-variable. rawurlencode under php works perfectly fine for translating the characters into the uri.

However, my outlook express mailclient automatically masks the html-tags. What can I do to present my customers the advantages of a correctly formatted table (product offer with sums and tax and discounts) instead of just soome ugly lines of text?

Any help is well appreciated.

BlobFisk

3:53 pm on Feb 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is problematic on many levels!

First, it's going to be a pain to inject that much markup into the mailto: link. Secondly it may not get sent as an HTML email. Thirdly, there is an upper limit on the amount of data you can put into a mailto: link. This varies between browsers and is around the 1425 character length.

My advice would be to try and do this as a server side form to mail.

Oliver Henniges

4:17 am on Feb 8, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yepp,

I also noticed, that my mail-client does not automatically insert my usual footer-notes, if the body-text is predifined. I will indeed skip this project. But thx for the additional info about maximum character length in such URIs.