By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,478 Members | 1,374 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,478 IT Pros & Developers. It's quick & easy.

Carriage returns stripped in email client using getURL("mailto:..)

P: 2
Windows XP

I have a simple form from which I want to generate an email with the contents of the form. I use carriage returns to format the content for readability.

When I test it on my computer the email generated by getURL("mailto..") is fine in my email client. Carriage returns are kept etc and shows how I want it.

However when I upload it to the server and run it on the web, the carriage returns are stripped out of the text and all text is rubn together.

I've tried all configurations (newline, "/r", "/n", "/r/n") to keep the carriage returns and still no luck.

Any advice would be appreciated. Thanks
Feb 15 '07 #1
Share this Question
Share on Google+
2 Replies


P: 2
Found the answer, thanks to an old reply from Andrew Urquhart:

"%0D%0A"

This keeps the carriage returns in the client email
Feb 15 '07 #2

P: 1
Hi,

Thanks for that. It is working.

Raj
Nov 13 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.