Kevin Meuer 21.Jun.06 09:58 AM a Web browser Notes Client 7.0 Windows 2000; Windows XP
We have a webpage (not using Domino) within our company which has links on it, which use mailto. These links are used to generate emails messages which can be sent to people informing them about something. If the users workstation (normally Windows XP) is setup such that Lotus Notes is the default mail client when a user goes to the web page (using IE or other browsers) and clicks on the link a new memo is generaged in Lotus Notes with the information specified in the link with the mailto. The problem arises based on the lenght of the information passed with the mailto reference. If the link is too long the user gets an error message "Error processing command line arguments." The error does not occur when the mail client is set to something other than Lotus Notes.
Here are some examples of links and their results:
1. This link errors out
<a href="mailto:firstname.lastname@example.org?subject=Some Text in the Subject Field which can be a little long&body=123456789A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789P1234567890Q123456789R123456789S123456789T123456789U123456789V123456789W123456789X123456789Y">mailto test1</a>
2. This link works since it is shorter.
<a href="mailto:email@example.com?subject=Some Text in the Subject Field which can be a little long&body=Send this email to someone to make sure that they know about something. Sometimes this link will not work and gives an error in Notes.">mailto test2</a>
3. This link is as long as it can be and not error out. As the link indicates in notes the 7 in the body does not actually appear in the memo, but no error is generated in this case.
<a href="mailto:firstname.lastname@example.org?subject=Some Text in the Subject Field which can be a little long&body=123456789A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N1234567">this link missing 7 on end but no error</a>
4. This link is the same as the one above except it adds one more character and now it errors out.<br>
<a href="mailto:email@example.com?subject=Some Text in the Subject Field which can be a little long&body=123456789A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678">just errors out when add 8</a>
If I count characters between the "s of the href= it seems that at 247 it works but drops the last character and at 248 characters the error is generated. It doesn't seem to matter where the characters are since if I add characters to the address I need to shorten the body to keep from getting the error.