Jump to content

Email Form Help


tllewellyn

Recommended Posts

Hello everyone, I hope you can help me out here.

 

I'm using a form on an administrator's site to send email to a long list of people whose email addresses are obtained from a membership database.  I've written a very simple script, using $_POST data and the mail() function, to send out the message.  The problem I'm having is that when I receive the test email messages, the line breaks entered into the textarea are not showing in the email.

 

For example, if I were to write:

 

Test

 

Test

 

Test

 

The resulting email would appear as:  Test Test Test

 

Can anyone provide some insight into how to have post information collected from a text area can maintain it's original formatting in the resulting emails?

 

Thanks.

 

Trev

Link to comment
https://forums.phpfreaks.com/topic/45968-email-form-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.