Character restrictions in IE while sending mail using Mailto


Go Back   Computer Help Articles > Internet Explorer 6
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 04:26 PM
Meenakshi
 
Posts: n/a
Default Character restrictions in IE while sending mail using Mailto

I need to send a mail that requires more than 2000 character in the content
of the mail. we r getting the javascript error when the content exceeds more
than that.

Current code :

var doc = "mailto:......." - (the size of the conent is more than 2000 char)
window.location = doc;

Alternative code i tried:

<FORM Action="mailto:xyz" METHOD="get">
mailto: protocol test:
<Br>Subject:
<INPUT name="Subject" value="Test Subject">
<Br>Body:
<TEXTAREA name="Body">
kfdskfdksfkds
</TEXTAREA>
<BR>
<INPUT type="submit" value="Submit">
</FORM>
the above code did not populated the body content for the post method.Only
for the get method it is populating the content.
but the problem is for the get method, again it fails for the above 2083
characters.

in some systems (but in most of the machine it is failing) post method sends
the content as a attachement of the form

Subject=Test Subject
Body=kfdskfdksfkds

but i need the content to be populated in the body of the mail. instead of
attachment. I are facing this issue in IE and we need a solution for this in
IE 6.0.

http://support.microsoft.com/kb/208427/
http://support.microsoft.com/?kbid=279460
I refered the above sites for this issue. we could not find any solution

Please let me know if i can do this using IE 6 in any way using the same
mailto but without the 2083 character restriction.
Reply With Quote
  #2  
Old 01-05-2006, 04:26 PM
Daniel Crichton
 
Posts: n/a
Default Re: Character restrictions in IE while sending mail using Mailto

Meenakshi wrote on Mon, 5 Dec 2005 03:07:02 -0800:

> I need to send a mail that requires more than 2000 character in the
> content of the mail. we r getting the javascript error when the content
> exceeds more than that.
>
> Current code :
>
> var doc = "mailto:......." - (the size of the conent is more than 2000
> char) window.location = doc;
>
> Alternative code i tried:
>
> <FORM Action="mailto:xyz" METHOD="get">
> mailto: protocol test:
> <Br>Subject:
> <INPUT name="Subject" value="Test Subject">
> <Br>Body:
> <TEXTAREA name="Body">
> kfdskfdksfkds
> </TEXTAREA>
> <BR>
> <INPUT type="submit" value="Submit">
> </FORM>
> the above code did not populated the body content for the post method.Only
> for the get method it is populating the content.
> but the problem is for the get method, again it fails for the above 2083
> characters.
>
> in some systems (but in most of the machine it is failing) post method
> sends the content as a attachement of the form
>
> Subject=Test Subject
> Body=kfdskfdksfkds
>
> but i need the content to be populated in the body of the mail. instead of
> attachment. I are facing this issue in IE and we need a solution for this
> in IE 6.0.
>
> http://support.microsoft.com/kb/208427/
> http://support.microsoft.com/?kbid=279460
> I refered the above sites for this issue. we could not find any solution
>
> Please let me know if i can do this using IE 6 in any way using the same
> mailto but without the 2083 character restriction.



I would suggest that you look at a server-side solution. Use of mailto: is
handy for the odd link to open the persons mail client, but for sending form
data I'd recommend a server side component to deal with it. Using mailto: is
full of problems - limits on size in GET strings (which I think is the one
you've come across), mailto program not setup (so a mailto link results in
the user seeing a dialog saying they don't have anything to deal with that
type of link), and the message is sent from the customer's PC rather than
direct from your site (which has security implications, some personal
firewalls block the use of mailtos that attempt to create a message).

For any form submissions on any site I run I use components libraries - on
ASP servers I use ASPEmail from www.aspemail.com , and on PHP servers I tend
to use one of the method calls that comes with PGP for sending mail.

Dan


Reply With Quote
  #3  
Old 01-05-2006, 04:26 PM
PA Bear
 
Posts: n/a
Default Re: Character restrictions in IE while sending mail using Mailto

See http://snipurl.com/kil5 & check your href-value.
--
~Robear Dyer (PA Bear)
MS MVP-Windows (IE/OE, Shell/User, Security), Aumha.org VSOP, DTS-L.org

Meenakshi wrote:
> I need to send a mail that requires more than 2000 character in the
> content of the mail. we r getting the javascript error when the content
> exceeds more than that.
>
> Current code :
>
> var doc = "mailto:......." - (the size of the conent is more than 2000
> char) window.location = doc;
>
> Alternative code i tried:
>
> <FORM Action="mailto:xyz" METHOD="get">
> mailto: protocol test:
> <Br>Subject:
> <INPUT name="Subject" value="Test Subject">
> <Br>Body:
> <TEXTAREA name="Body">
> kfdskfdksfkds
> </TEXTAREA>
> <BR>
> <INPUT type="submit" value="Submit">
> </FORM>
> the above code did not populated the body content for the post method.Only
> for the get method it is populating the content.
> but the problem is for the get method, again it fails for the above 2083
> characters.
>
> in some systems (but in most of the machine it is failing) post method
> sends the content as a attachement of the form
>
> Subject=Test Subject
> Body=kfdskfdksfkds
>
> but i need the content to be populated in the body of the mail. instead of
> attachment. I are facing this issue in IE and we need a solution for this
> in IE 6.0.
>
> http://support.microsoft.com/kb/208427/
> http://support.microsoft.com/?kbid=279460
> I refered the above sites for this issue. we could not find any solution
>
> Please let me know if i can do this using IE 6 in any way using the same
> mailto but without the 2083 character restriction.


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bulk mail going to deleted folder MCP Outlook Express 4 01-05-2006 04:46 PM
Shortcut to special characters Anden08 Windows XP Customize 10 01-05-2006 06:37 AM
Character map Marty Windows XP New Users 16 01-05-2006 02:53 AM
character map short cuts fran Windows XP New Users 7 01-05-2006 02:53 AM
cant get mail from keyboard fishermandv Windows XP Help and Support 7 01-05-2006 02:50 AM


All times are GMT. The time now is 06:05 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Character restrictions in IE while sending mail using Mailto