Changeset 618


Ignore:
Timestamp:
Nov 11, 2017 1:14:27 PM (7 years ago)
Author:
anonymous
Message:

Improve comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Email.inc.php

    r578 r618  
    255255    * Returns the body of the current email. This can be used to store the message that is being sent.
    256256    * It will use the original template, or the replaced template if it has been processed.
     257    * You can also use this function to do post-processing on the email body before sending it,
     258    * like removing extraneous lines:
     259    * $email->setString(preg_replace('/(?:(?:\r\n|\r|\n)\s*){2}/s', "\n\n", $email->getBody()));
    257260    *
    258261    * @access   public
Note: See TracChangeset for help on using the changeset viewer.