Please enable JavaScript to view this site.

The command deliver() enables the direct delivery of an email.

 

empty

anchor link Note:

All subsequent commands are ignored

This command cannot be the condition for an if/else statement (see section Control Structures - If/Else Statements).

 

Structure of the command

 

deliver(['mailserver[:port]'|'loop'|'queueless']);

 

Return value

positive

always

 

Parameters

If no parameter is specified, the email is passed on to the local mail transport agent (MTA).

 

mailserver (optional)

Indicates the email server via which the email is to be delivered.

If no parameter is specified, the email is passed on to the local mail transport agent (MTA).

:port (optional)

Specifies the port on which the specified email server receives emails.

The default port is 25 SMTP

 

loop (optional)

The email is returned to the email server from which it was received.

 

queueless (optional)

This setting stipulates that emails to individual recipients are not to be stored temporarily during processing. Instead, the incoming connection is not acknowledged until the outgoing connection has been acknowledged. In the case of delivery to several recipients, if the acceptance is not acknowledged for some recipients, these emails will temporarily be stored on the appliance until they are acknowledged by the receiving email server.

 

empty

anchor link Note:

The following parameters are mutually exclusive:

omailserver[:port]

oloop

oqueueless

 

Example 1

Line

Code

01

deliver('relay.customer.com:587');

 

Explanation

In this example, the email is sent to the specified email server with the destination port TCP/587.

 

Example 2

Line

Code

01

deliver();

 

Explanation

In this example, the email is delivered directly via the local email transport agent (MTA).

 

  

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