I have encountered an issue with using ajax to send emails. Specifically, when I retrieve the value from the message box, it does not retain any line breaks. I am seeking a solution that will allow me to capture the email contents without losing their original formatting and alignments using JavaScript. Since I have run into difficulties with jQuery, I am now utilizing pure JavaScript along with ajax functionality. Any assistance or suggestions would be greatly appreciated.