By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,475 Members | 1,072 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,475 IT Pros & Developers. It's quick & easy.

Mailto: question

P: n/a
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
Share this Question
Share on Google+
3 Replies

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.