You are here: Sending Information to an email - but need new lines.. « PHP Programming Language « IT news, forums, messages
Sending Information to an email - but need new lines..

Posted by Advo on 12/03/66 11:58

Hi there.

Basically, I need to send some details but be able to use new lines.
Before we were using asp, which used VbCrLf but now that im writing
the pages in PHP we need another way.

a code sample is:

$details =
"------------------------------------------------------------------------------"
.. '<br />' .
"WEBSITE RESPONSE - PACK REQUEST" . '<br>' .
"------------------------------------------------------------------------------"
.. '<br>' .'<br>' .

which should then look similar to:

------------------------------------------------------------------------------
WEBSITE RESPONSE - PACK REQUEST
------------------------------------------------------------------------------

when the email gets sent to the address, but at the moment, its being
sent through as:

------------------------------------------------------------------------------<br>WEBSITE
RESPONSE - SAMPLE PACK
REQUEST<br>------------------------------------------------------------------------------<br><br><strong>NEW




Now is this just because the email client (im testing with yahoo)
doesnt support html? or another reason.

Any ideas how i can fix this issue please.

Regards and thanks for the help

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация