Click here to Skip to main content
15,895,011 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: IIS problem Pin
Liborac_18-Apr-05 21:46
Liborac_18-Apr-05 21:46 
GeneralRe: IIS problem Pin
dratcha19-Apr-05 7:06
dratcha19-Apr-05 7:06 
GeneralRe: IIS problem Pin
WoutL19-Apr-05 21:23
WoutL19-Apr-05 21:23 
QuestionWeb service toolkit for VS6.0? Pin
anderslundsgard18-Apr-05 9:11
anderslundsgard18-Apr-05 9:11 
GeneralVB ActiveX dll debugging blues Pin
Ed Purvee18-Apr-05 9:08
Ed Purvee18-Apr-05 9:08 
GeneralDefault Email Client - TEXT Max Length? / Outlook Pin
Digmy18-Apr-05 6:43
Digmy18-Apr-05 6:43 
GeneralRe: Default Email Client - TEXT Max Length? / Outlook Pin
JKroschel22-Apr-05 10:51
JKroschel22-Apr-05 10:51 
GeneralRe: Default Email Client - TEXT Max Length? / Outlook Pin
Digmy25-Apr-05 6:18
Digmy25-Apr-05 6:18 
Thanks for your interest in this one 'J'!

Still unresolved...

We are passing the emial text body as part of the "mailto:" ...

hlEMAIL.NavigateUrl = "mailto:?subject=" + sbSubject + "&body=" + sbTextBody.ToString();

where sbTextBody appears to have to be less than 1997 characters.

We have been researching the technical specs within the RFC's.

http://www.faqs.org/rfcs/rfc2821.html

It indicates:

2.1.1. Line Length Limits

There are two limits that this standard places on the number of
characters in a line. Each line of characters MUST be no more than
998 characters, and SHOULD be no more than 78 characters, excluding
the CRLF.

The 998 character limit is due to limitations in many implementations
which send, receive, or store Internet Message Format messages that
simply cannot handle more than 998 characters on a line. Receiving
implementations would do well to handle an arbitrarily large number
of characters in a line for robustness sake. However, there are so
many implementations which (in compliance with the transport
requirements of [RFC2821]) do not accept messages containing more
than 1000 character including the CR and LF per line, it is important
for implementations not to create such messages.

The more conservative 78 character recommendation is to accommodate
the many implementations of user interfaces that display these
messages which may truncate, or disastrously wrap, the display of
more than 78 characters per line, in spite of the fact that such
implementations are non-conformant to the intent of this
specification (and that of [RFC2821] if they actually cause
information to be lost). Again, even though this limitation is put on
messages, it is encumbant upon implementations which display messages

to handle an arbitrarily large number of characters in a line
(certainly at least up to the 998 character limit) for the sake of
robustness.



Another source (http://ftp.isi.edu/in-notes/rfc2368.txt)
indicates:

RFC 1738 requires that many characters in URLs be encoded. This
affects the mailto scheme for some common characters that might
appear in addresses, headers or message contents. One such character
is space (" ", ASCII hex 20). Note the examples above that use "%20"
for space in the message body. Also note that line breaks in the
body of a message MUST be encoded with "%0D%0A".


With all that, we thought we had it licked (each line break was followed by %0D%0A and no single 'subs string" was longer than 78). However, still, if the sum of the text body is > 1997, Outlook will not 'pop'.

Thank you for any help you can provide.



Digmy (aka Ray)
GeneralRe: Default Email Client - TEXT Max Length? / Outlook Pin
JKroschel25-Apr-05 7:57
JKroschel25-Apr-05 7:57 
GeneralRe: Default Email Client - TEXT Max Length? / Outlook Pin
Digmy25-Apr-05 10:29
Digmy25-Apr-05 10:29 
GeneralRe: Default Email Client - TEXT Max Length? / Outlook Pin
JKroschel26-Apr-05 3:32
JKroschel26-Apr-05 3:32 
GeneralRe: Default Email Client - TEXT Max Length? / Outlook Pin
Digmy27-Apr-05 6:49
Digmy27-Apr-05 6:49 
QuestionHow to post/get reply from VC++ Pin
Alan C. Balkany18-Apr-05 3:16
Alan C. Balkany18-Apr-05 3:16 
GeneralData Binding - DropDownList Pin
brian5518-Apr-05 2:06
brian5518-Apr-05 2:06 
GeneralRe: Data Binding - DropDownList Pin
sstocker22-Apr-05 9:08
sstocker22-Apr-05 9:08 
GeneralRe: Data Binding - DropDownList Pin
brian5523-Apr-05 2:39
brian5523-Apr-05 2:39 
GeneralOrder of Postback and Session Variables Pin
Sue Oates17-Apr-05 20:43
Sue Oates17-Apr-05 20:43 
QuestionScrapper, anyone? Pin
mijan17-Apr-05 20:14
mijan17-Apr-05 20:14 
Questionhow to scan any damages in our page? Pin
mijan17-Apr-05 17:41
mijan17-Apr-05 17:41 
Generalxmlhttprequest from javascript in Firefox Pin
SimonS16-Apr-05 23:50
SimonS16-Apr-05 23:50 
GeneralGet html content from an URL by client-side scripting Pin
kokain15-Apr-05 16:37
kokain15-Apr-05 16:37 
GeneralData Access to Biz Layer Pin
1.21 Gigawatts15-Apr-05 4:03
1.21 Gigawatts15-Apr-05 4:03 
GeneralRe: Data Access to Biz Layer Pin
Colin Angus Mackay17-Apr-05 0:31
Colin Angus Mackay17-Apr-05 0:31 
GeneralRe: Data Access to Biz Layer Pin
Anonymous17-Apr-05 6:42
Anonymous17-Apr-05 6:42 
GeneralProblem with table height attribute Pin
ed welch15-Apr-05 3:03
ed welch15-Apr-05 3:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.