473,657 Members | 2,634 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does anybody know how to pass mime content-type in mailto: tag?

Sam
Does anybody know the proper format to pass content-type in a mailto: Link?

Here is what I have. I doesn't work if I escape() the whole body either.

Thanks!

var z = new String("mailto: ");
if('w' == move) {
z += escape(wh) + "?to=" + escape(wh);
} else {
z += escape(bl) +"?to=" + escape(bl) ;
}
z += "&subject=e mail chess&body=" +
"Content-type: text/html; charset=\"US-ASCII\" " + /*does not work!*/
"Content-transfer-encoding: quoted-printable " + escape(
"<html><a href='" +
theurl() +
"?d=" + rlc(board) +
"&w=" + wh +
"&b=" + bl + "&m=" + move +
"'>Please click here</a></html>") ;
location.replac e(z);


Ter
Jul 20 '05 #1
1 7854
In article <88************ **************@ posting.google. com>,
fi*********@yah oo.com (Sam) wrote:
Does anybody know the proper format to pass content-type in a mailto: Link?


No. Use server side scripts to send out e-mails put together by forms.
Then you can easily determine the MIME-type of the outgoing message.
Stick with plain text unless you have a very good reason not to.

--
Kris
<kr*******@xs4a ll.netherlands> (nl)
<http://www.cinnamon.nl/>
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
7707
by: Erik Rosenbach | last post by:
I have a question about how to parse out mime from a message. I have email messages that are stored in a database table and these messages have mime headers embedded within them. How can I parse out this mime content and retrieve only the text messages? Thank you, Erik
1
3938
by: Sugapablo | last post by:
In the following file below, I want it to return itself as a Rich Text Format file that populates the variables with data from the database. I set up the mime types and the filename accordingly. Now, when I call this page on a Linux system, using the Mozilla browser, it opens a dialog, asks me whether I want to save it or open it, and if I open it, opens it as test.rtf, just like I tell it to in the Content-Disposition header.
3
1612
by: Terry Jones | last post by:
I am trying to setup an Apache web server to accept XML document and use a CGI to process the content of the XML file. My questions are: * When a client performs a POST to the server; assume that the content of the post is an XML file, where does Apache place the file? * How do I setup Apache so that when it receives an XML file, it will invoke a particular CGI so that the XML file can be consumed? * Is there a way to configure Apache so...
0
436
by: mike | last post by:
regards: Does the following programming architecture make sense? http://www.wretch.cc/album/show.php?i=otp&b=1&f=1111993473&p=2 My program logic is following: --------------------------------------------------------------------------- My machine's ip is xxx.xxx.xxx.xxx and open port 85 Mobile client access my machine by http://xxx.xxx.xxx.xxx:85
4
6162
by: Michael Grosse | last post by:
I've conquered a very strange behaviour that I cannot account for logically and therefore seek help in this Discussion Group. I'm currently developing 2 applications and intend to use the standard open File Dialog with the code snippet found below. The code snippet is exactly the same in both applications but the behaviour is fundamentally different. In one application when you select adifferent filter from the filter selection group box...
5
1329
by: Geoff Jones | last post by:
Hi Does anybody use the Visual Basic Resource Kit? I have a question about it and I've either discovered a bug in it or have a problem with my installation. Geoff
2
1865
by: Alex | last post by:
Hello, Quick question and I would really appreciate if anybody could helps me. Here are the steps to reproduce the problem. Create simple ASP.Net application. In code behind added protected class variable: protected string _result = "No result"; Page Load event has:
7
1697
by: Manfred Kooistra | last post by:
I have these pieces of example code that I am trying to figure out: (a) $a = $b->c(); (b) $d->e(); What does "->" do? Where is there a reference/explanation in the PHP manual (or anywhere else)? (Unfortunately Google et al. don't search for these characters, so I
55
6201
by: Zytan | last post by:
I see that static is more restricted in C# than in C++. It appears usable only on classes and methods, and data members, but cannot be created within a method itself. Surely this is possible in C# in some way? Or maybe no, because it is similar to a global variable (with its scope restricted) which C# is dead against? Zytan
0
1350
by: arulk | last post by:
i have 80 char's in xml and im getting this content from xml , writing the content in pdf formet using xsl but i need to wrap the content and i have to count the wraping content only . can i do this ? if u know about this can you help me?... we generating pdf so i getting one issues , we are drawing dotted line in pdf so we are giving some annation in xsl then java find the annation and put dotted in pdf that time we got issues bcoz ...
0
8407
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8837
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6175
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.