View Full Version : Formatting For Email
DoctorDigital84
06-19-2005, 12:46 AM
I am sending out a variable to PHP and emailing an order. Works Great.
The problem is that the variable is a LOOOOONG line of text, and it needs some new lines. The \n works fine in flash to make a new line, and \t for tab, but they just say "\n" in the email. Any suggestions on how to format this? :confused:
CyanBlue
06-19-2005, 03:56 AM
Howdy and Welcome... :)
Did you try <BR> then???
DoctorDigital84
06-20-2005, 01:24 AM
thanks... not a bad idea. I can't test it right now because I am at home, but I'll give it a shot on monday and let everyone know
DoctorDigital84
06-20-2005, 08:52 PM
nope... it just shows many break tags in the email. It is being opened in outlook express by the secretary, and isnt working...
might i have to put any other HTML formatting to make it read it. like a body tag of html tag??
CyanBlue
06-21-2005, 02:28 AM
Check this page out and compare the PHP file to see the difference... I think that might solve your problem...
http://tutorials.flashvacuum.com/tutorials/Flash%20&%20PHP%20Integration/Email101/
mmm..pi..3.14..
06-21-2005, 06:12 AM
Sound like an email program setting, and not a PHP problem. Are you sure you have the email program set to enable HTML Text emails? Otherwise I think the program treats the entire email as plain text and displays it exactly that way :(
Eric
DoctorDigital84
06-23-2005, 12:19 AM
thanks guys, i do believe this is just an outlook express problem and the <br> should work... i guess its not really my problem, it is the secretary's... ok, done with that part of the code :)
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.