(new in 15.0)
The revert_lft() command will reattach all detached attachments to the mail and remove everything LFT related.
Structure of the command
revert_lft();
Return value
positive |
If conversion to normal message was successful. |
negative |
If the conversion was not successful or the message has not been a LFT message before. |
Parameters
none
Example
Line |
Code |
|---|---|
01 |
if ( revert_lft() ) { |
02 |
log( 1, 'successfully removed LFT handling' ); |
03 |
} |
Explanation
In this example, if the command is successful and returns true (line 1), the log entry is written (line 2).