473,387 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Mailto: question

Either in ASP or VB using Internet Explorer, how can I do a mailto
where the body has a link, and the link has a T=5&S=2 like the
following?

mailto:fi**********@gmail.com?subject=Help Desk Ticket&body=You have a
ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5&S=2

When I do the above mailto, it truncates the "&S=2" and the body
becomes
mailto:fi**********@gmail.com?subject=Help Desk Ticket&body=You have a
ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5

Thank you.
Dec 1 '07 #1
3 2154
You have to encode the & into URL format. I believe it would be something
like:
T=5%38S=2


<fi**********@gmail.comwrote in message
news:73**********************************@i12g2000 prf.googlegroups.com...
Either in ASP or VB using Internet Explorer, how can I do a mailto
where the body has a link, and the link has a T=5&S=2 like the
following?

mailto:fi**********@gmail.com?subject=Help Desk Ticket&body=You have a
ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5&S=2

When I do the above mailto, it truncates the "&S=2" and the body
becomes
mailto:fi**********@gmail.com?subject=Help Desk Ticket&body=You have a
ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5

Thank you.

Dec 2 '07 #2
Actually, it's T=5%26S=2

Not %38
"Lance Wynn" <La*******@community.nospamwrote in message
news:ey**************@TK2MSFTNGP06.phx.gbl...
You have to encode the & into URL format. I believe it would be something
like:
T=5%38S=2


<fi**********@gmail.comwrote in message
news:73**********************************@i12g2000 prf.googlegroups.com...
>Either in ASP or VB using Internet Explorer, how can I do a mailto
where the body has a link, and the link has a T=5&S=2 like the
following?

mailto:fi**********@gmail.com?subject=Help Desk Ticket&body=You have a
ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5&S=2

When I do the above mailto, it truncates the "&S=2" and the body
becomes
mailto:fi**********@gmail.com?subject=Help Desk Ticket&body=You have a
ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5

Thank you.


Dec 2 '07 #3
Gazing into my crystal ball I observed fi**********@gmail.com writing in
news:73**********************************@i12g2000 prf.googlegroups.com:
Either in ASP or VB using Internet Explorer, how can I do a mailto
where the body has a link, and the link has a T=5&S=2 like the
following?

mailto:fi**********@gmail.com?subject=Help Desk Ticket&body=You have a
ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5&S=2

When I do the above mailto, it truncates the "&S=2" and the body
becomes
mailto:fi**********@gmail.com?subject=Help Desk Ticket&body=You have a
ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5

Thank you.
Stop wanting that. That type of link will only work some of the time,
for some people. Additionally, there is nothing that would keep the
user from changing the subject line, and messing up your message.
Better to do this in a form.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Dec 2 '07 #4

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

Similar topics

4
by: john Q | last post by:
I found a PHP based email obfuscator for use in websites, where the source HTML (PHP, actually) file doesn't contain the actual email address in the Mailto tag, but generates it and that...
15
by: nAmYzArC | last post by:
Hi everyone, I'm setting the body of an email using values from a form firstname = bob lastname = dole ebody = 'First Name: ' + firstname + '\r\n' + 'Last Name: ' + lastname ...
12
by: ElvisIsDead | last post by:
Have a script that takes a form and emails it automatically. Here is the part: <form onSubmit="return editData();" name="estm" enctype="text/plain" method="post"...
15
by: Val | last post by:
Any experts on mailto: tags? I want to set a link so that the subject and some of the body of the email is filled in. This is easy for simple text, although you need to use %20 for spaces: <a...
12
by: catyionic | last post by:
hi, Due to trying many different form options, with none of them working, I opted for this to receive info back from this site: http:\\www.elderslastwish.com <form name="feedback_form"...
10
by: Adam Smith | last post by:
How can I set up a mailto with a cc or bcc as well as a subject designation. The system works for two but not three, is this a hardwired limit or have I missed something ==> <a...
15
by: Rainman | last post by:
In the following simplified tag: <a href='mailto:<address1@somewhere.com>,<address2@nowhere.com>?subject=Testing'> click here</a> When clicked, both addresses appear as "To:" recipients when...
5
by: Joh | last post by:
I'm using mailto to open up an email that have a hyperlink in the body. The hyperlink passes two variables Name and Emailadress. The problem is that only the first variable Name show up in the...
5
by: -Lost | last post by:
I was writing the 7th installment to introducing my children to HTML and came upon something that I am not familiar with, evidently. http://foomanchu.com/standardize7.htm I have two mailto:...
6
by: Mike | last post by:
I have to use mailto so the pages opens up the users default client. I need to format the body of the email in HTML format so I can show some the text in bold, italics and underlined? Is this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.