|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
OK, I'm not a coder by any stretch of the imagination, so this is probably going to seem basic, but I appreciate any help you can offer.
I've got some php set up to send an email to people subscribing to a cartoon feature of mine. The thing is, when I test it, some folks' emails have lots of line breaks between the text, some folks' run the whole thing together into one paragraph. Any simple way to make sure there's some line breaks in a simple text email? Also, how to I have the "From:" be a no_reply address? The code is as follow: $msg = " (This is an automated reply. Please do not respond to this email.) Thanks so much for signing up for my daily cartoon feature! Click on the link below to retrieve your code http://www.example.com/syndication_code.php?topic=$topic Your Information: Email: $email URL: $website Referrer: $referer Topic: $topicMap[$topic] Enjoy! Mark Anderson http://www.example.com "; { $msg .= "$key: $value\n"; } $mailheaders = "From: $stripname <$email>\n\n"; $mailheaders .= "Reply-To: $stripname <$email>\n\n"; mail($email,'ANDERTOONS.COM : Syndication Code', $msg, $mailheaders);
__________________
Andertoons - Share the cartoon joy! |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |