Menu

line breaks

Help
2004-08-31
2013-03-22
  • Alisa Davis

    Alisa Davis - 2004-08-31

    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.

     
    • Michael Thompson

      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?

       
    • Brian Gustin

      Brian Gustin - 2004-10-15

      Added to buglist. Thanks . probably will utilize nl2br() function :)

       
    • Jeff Walters

      Jeff Walters - 2004-10-24

      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

       
    • Brian Gustin

      Brian Gustin - 2004-10-31

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.