Please enable JavaScript to view this site.

(new in 15.0)

The make_lft() command will detach all attachments from the mail and set everything up so it can be processed by the encrypt_webmail() function as a LFT message.

Depending on the direction (incoming/outgoing/internal) of the message, the function will detect if LFT is available and which mode has to be used.

 

Structure of the command

 

make_lft();

 

 

Return value

positive

If conversion to LFT message was successful.

negative

If the conversion was not successful or LFT is not available.

 

Parameters

none

 

Example

Line

Code

01

if ( make_lft() ) {

02

   log( 1, 'successfully transformed to LFT' );

03

     encrypt_webmail();

04

}

 

Explanation

In this example, if the command is successful and returns true (line 1), the log entry is written (line 2) and encrypt_webmail() is executed (line 3).

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC