Mailto: question

Mailto: question

am 02.12.2007 00:48:55 von fiefie.niles

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:fiefie.niles@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:fiefie.niles@gmail.com?subject=Help Desk Ticket&body=You have a
ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5

Thank you.

Re: Mailto: question

am 02.12.2007 01:42:03 von Lance Wynn

You have to encode the & into URL format. I believe it would be something
like:
T=5%38S=2




wrote in message
news:73fa33e4-f18c-43a6-b7aa-4c5e0514b419@i12g2000prf.google groups.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:fiefie.niles@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:fiefie.niles@gmail.com?subject=Help Desk Ticket&body=You have a
> ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5
>
> Thank you.

Re: Mailto: question

am 02.12.2007 01:45:00 von Lance Wynn

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

Not %38


"Lance Wynn" wrote in message
news:ey2xIxHNIHA.2208@TK2MSFTNGP06.phx.gbl...
> You have to encode the & into URL format. I believe it would be something
> like:
> T=5%38S=2
>
>
>
>
> wrote in message
> news:73fa33e4-f18c-43a6-b7aa-4c5e0514b419@i12g2000prf.google groups.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:fiefie.niles@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:fiefie.niles@gmail.com?subject=Help Desk Ticket&body=You have a
>> ticket waiting at localhost/http://mywebsite/abc/mypage.asp?T=5
>>
>> Thank you.
>
>

Re: Mailto: question

am 02.12.2007 02:13:55 von Adrienne Boswell

Gazing into my crystal ball I observed fiefie.niles@gmail.com writing in
news:73fa33e4-f18c-43a6-b7aa-4c5e0514b419@i12g2000prf.google groups.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:fiefie.niles@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:fiefie.niles@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

Re: Mailto: question

am 02.12.2007 08:44:17 von Anthony Jones

"Adrienne Boswell" wrote in message
news:Xns99F9AF4AD6B91arbpenyahoocom@69.28.186.121...
> Gazing into my crystal ball I observed fiefie.niles@gmail.com writing in
> news:73fa33e4-f18c-43a6-b7aa-4c5e0514b419@i12g2000prf.google groups.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:fiefie.niles@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:fiefie.niles@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.
>


Most of the time thats probably true but there are circumstances where
mailto: may be appropriate. An intranet app where the client machines are
of known configuration. The mailto: link gives the user something to start
with but its still _their_ email not an auto generated email.


--
Anthony Jones - MVP ASP/ASP.NET

Re: Mailto: question

am 02.12.2007 09:10:19 von Adrienne Boswell

Gazing into my crystal ball I observed "Anthony Jones"
writing in
news:#5wxYcLNIHA.4136@TK2MSFTNGP03.phx.gbl:

>
> "Adrienne Boswell" wrote in message
> news:Xns99F9AF4AD6B91arbpenyahoocom@69.28.186.121...
>> Gazing into my crystal ball I observed fiefie.niles@gmail.com writing
>> in
>> news:73fa33e4-f18c-43a6-b7aa-4c5e0514b419
@i12g2000prf.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:fiefie.niles@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:fiefie.niles@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.
>>
>
>
> Most of the time thats probably true but there are circumstances where
> mailto: may be appropriate. An intranet app where the client machines
> are of known configuration. The mailto: link gives the user something
> to start with but its still _their_ email not an auto generated email.
>
>

Agreed, however, the OP never stated if this was an intranet - and even
if it were, the user could still change the subject in the email client,
as you state above. Probably, in the OP's case, this information is
important, so doing it in a form where the author has control would be
better.

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