|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
||||
|
||||
|
Mailto: Adding a blank line in body
i have been working with mailto: latly, and all i need to know now really is how to add a blank line, i have tryed using more then one body tag, the \n, the <br />, but none have worked
does anyone know what i need to enter?? colton22 |
|
#2
|
||||
|
||||
|
blank line
With PHP mail() I use "\r\n\r\n" the first pair to get to the newline, the second for the blank line.
|
|
#3
|
||||
|
||||
|
i tried that and all that did was add the txt \r\n\r\n in the body
colton22 |
|
#4
|
||||
|
||||
|
addslashes?
Does the script add slashes somewhere? Maybe if you posted a snippet of the code you're using it might help.
|
|
#5
|
||||
|
||||
|
if you do this...
copy this to your address bar and press enter... --------------------start of copy-------------------------- mailto:colton22info@yahoo.com&cc=snowego2@comcast.net&subject=Test Email From Devarticles Thread&body=hello,\r\n\r\nHow are you doing today? ---------------------end of copy-------------------------- that will make an email like: to: colton22info@yahoo.com cc: snowego2@comcast.net subject: Test Email From Devarticles Thread body: hello, \r\n\r\nHow are you doing today? i need it to do this... to: colton22info@yahoo.com cc: snowego2@comcast.net subject: Test Email From Devarticles Thread body: hello, How are you doing today? ------------------------------------------------------------- any suggestions? colton22 |
|
#6
|
||||
|
||||
|
using this way you have to escape() any messages you have so it will be in the escape format.
the code to get a blank line with escape code is: %0D%0A thanks for the help though, lol, computers are my life!! colton22 |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Mailto: Adding a blank line in body |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|