My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: Plus Signs in the Subject and Body
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 2009


 
Reported by bill.hoe...@gmail.com, Jun 29, 2009
What steps will reproduce the problem?
1. Create an Liame control in the .ASPX page.

2. In the Code Behind (VB) set the Subject and Body properties.
    liame1.Subject = "This is the subject."
    liame1.Body = "This is the body."

3. When you click on the link the mail client opens.

What is the expected output? What do you see instead?

The expected output would be a subject as "This is the subject." and the
body as "This is the body."

What I'm seeing is "This+is+the+subject." for the subject and
"This+is+the+body." for the body.

This is being caused by the following two lines in the C# code behind.
sb.Append(sep + "subject=" + Page.Server.UrlEncode(Subject));
sb.Append(sep + "body=" + Page.Server.UrlEncode(Body));

The UrlEncode method is converting spaces to plus signs.  Was this the
desired result and if so how do I obtain spaces in the user's new e-mail
message?


What version of the product are you using? On what operating system?
0.8.2.0
Windows XP SP2

Please provide any additional information below.


Jul 2, 2009
Project Member #1 josemague@gmail.com
Hi, Bill.

You are right; the strings were not encoded properly. I have submitted a patch for 
this issue, and uploaded a new release. Now these strings are encoded using RFC2368 
instructions. 

Thank you very much.
Jose.
Status: Fixed

Powered by Google Project Hosting