I can't figure out how to get line breaks in my email messages. It seems that they are all stipped out prior to being sent. I can understand stripping out some things, but I would like to keep my line breaks in tack.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
UH huh. :) most probably will apply concepts and portions of code from how phpBB does things - (including utilizing bbcode instead of html) and of course, text emails will simply strip out all those tags and place newlines (\n) place of ([br]) tags :) so all in all, plenty to do and a long ways to go .. nl2br would still work very nicely , and it WOULD only apply html emails anyway.....
but the more ideal fix is one input area, selecting only a given mailing list, and let phpmailer handle the sending of emails.. However, it can be somewhet tricky to get it right to send out both text and html versions of the same email to each email subscriber- mostly in how the GUI mail client displays things
so still much work to do - Ive ported adodb and got it started, Ive got the installer fixed up to be a one-shot deal (very simple to install, no manual database queries required) and it uses XML, so any changes to the database tables will be simple to implement.. Also, it opens the door to very very simple one-click upgrades of the software ... making re-installation un-necessary.
now that that is "mostly" in place (working in Alpha mode) I'm working to get the entire code base converted to use adodb, optimizing smarty usage (definitely will need it to add all these features)
and then attacking the bug list (in my spare time when I get any- lately been working 7 days a week to meet software deadlines) Can probably look forward to a massive CVS update sometime middle to late November.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't figure out how to get line breaks in my email messages. It seems that they are all stipped out prior to being sent. I can understand stripping out some things, but I would like to keep my line breaks in tack.
Is the problem with previewing the message or the message that is actually sent?
The message that is sent is it a problem with the html version or the text version?
Have you tried inserting <br> tags?
Added to buglist. Thanks . probably will utilize nl2br() function :)
The textbox expects to see HTML. So, you should use <br> for line breaks and <p></p> for paragraphs.
The code is setup to send both Text and HTML content in the emails, so I wouldn't suggest ultilizing nl2br()!
Jeff Walters
UH huh. :) most probably will apply concepts and portions of code from how phpBB does things - (including utilizing bbcode instead of html) and of course, text emails will simply strip out all those tags and place newlines (\n) place of ([br]) tags :) so all in all, plenty to do and a long ways to go .. nl2br would still work very nicely , and it WOULD only apply html emails anyway.....
but the more ideal fix is one input area, selecting only a given mailing list, and let phpmailer handle the sending of emails.. However, it can be somewhet tricky to get it right to send out both text and html versions of the same email to each email subscriber- mostly in how the GUI mail client displays things
so still much work to do - Ive ported adodb and got it started, Ive got the installer fixed up to be a one-shot deal (very simple to install, no manual database queries required) and it uses XML, so any changes to the database tables will be simple to implement.. Also, it opens the door to very very simple one-click upgrades of the software ... making re-installation un-necessary.
now that that is "mostly" in place (working in Alpha mode) I'm working to get the entire code base converted to use adodb, optimizing smarty usage (definitely will need it to add all these features)
and then attacking the bug list (in my spare time when I get any- lately been working 7 days a week to meet software deadlines) Can probably look forward to a massive CVS update sometime middle to late November.