JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old September 25th, 2006, 05:35 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 471 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 9 m 44 sec
Reputation Power: 3
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
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

Reply With Quote
  #2  
Old September 25th, 2006, 10:40 PM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 540 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 1 h 44 m 31 sec
Reputation Power: 3
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.

Reply With Quote
  #3  
Old September 26th, 2006, 06:48 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 471 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 9 m 44 sec
Reputation Power: 3
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
i tried that and all that did was add the txt \r\n\r\n in the body

colton22

Reply With Quote
  #4  
Old September 27th, 2006, 04:24 PM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 540 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 1 h 44 m 31 sec
Reputation Power: 3
addslashes?

Does the script add slashes somewhere? Maybe if you posted a snippet of the code you're using it might help.

Reply With Quote
  #5  
Old September 27th, 2006, 04:31 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 471 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 9 m 44 sec
Reputation Power: 3
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
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

Reply With Quote
  #6  
Old October 11th, 2006, 04:28 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 471 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 9 m 44 sec
Reputation Power: 3
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
Cool I Got It!!!!!

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

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Mailto: Adding a blank line in body


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway