468,133 Members | 1,311 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,133 developers. It's quick & easy.

Storing and retrieving Email message from Database


I am developing one application in that i have to develop inbox and outbox functionality.
I have to display message like the following format

"Dear member,

This is a notice to let you know that we have added your new bank account on our site.

Bank name: Bank of America
Last 4 digits of account number: XXXX


My problem is while storing these data whole data is storing like a paragraph.
Please help to get data from database like above format.

Thanks in advance
Oct 6 '08 #1
2 1067
4,871 Expert 4TB
Interesting project. Please explain the purpose of your application, not just the email functionality. That way we can know what type of spaces are needed. Thanks.
Oct 6 '08 #2
663 Expert 512MB
Are you including the \n character in the text that you are inserting into the DB?

Instead of using a DB have you considered storing the text in a text file template? You could put the text file in your project and simply use string.Replace to replace a variable in the text file with data specific to the customer.

Oct 6 '08 #3

Post your reply

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

Similar topics

3 posts views Thread by Ankur Gupta | last post: by
3 posts views Thread by Mark | last post: by
2 posts views Thread by Tom | last post: by
4 posts views Thread by Rednelle | last post: by
27 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.