You are on page 1of 2

Return

value
STATUS
(W#16#...):
Return value
SFC_STATUS
(W#16#...):
Explanation Notes
0000 -
The processing of "TM_MAIL"
was completed without errors.
A error-free completion of "TM_MAIL" does not
mean that the sent e-mail will necessarily arrive
(see below - note on point 1)
7001 "TM_MAIL" is active (BUSY = 1). Initial call; job has started
7002 7002 "TM_MAIL" is active (BUSY = 1). Intermediate call; job already active
8xxx xxxx
The processing of "TM_MAIL"
was completed with an error
code of the internally called
communication instructions.
For detailed information on the evaluation of the
SFC_STATUS parameter, refer to the
descriptions of the STATUS parameter of the
communication instructions.
8010 xxxx
Error during connection
establishment.
For further information on the evaluation of the
SFC_STATUS parameter, refer to the
descriptions of the STATUS parameter of the
"TCON" instruction.
8011 xxxx Error sending the data.
For detailed information on the evaluation of
SFC_STATUS, refer to the descriptions of the
STATUS parameter of the "TSEND" instruction.
8012 xxxx Error receiving the data.
For more information on the evaluation of
SFC_STATUS, refer to the descriptions of the
STATUS parameter of the "TRCV" instruction.
8013 xxxx
Error during connection
establishment.
For more information on the evaluation of
SFC_STATUS, refer to the descriptions of the
STATUS parameter of the "TCON" and
"TDISCON" instructions.
8014 -
Establishment of a connection is
not possible.
You have possibly entered an incorrect mail
server IP address (ADDR_MAIL_SERVER) or a
time span that is too short
(WATCH_DOG_TIME) to establish the
connection. It is also possible that the CPU has
no connection to the network or that the CPU
configuration is incorrect.
82xx, 84xx,
or 85xx
-
The error message originates
from the mail server and
corresponds, except for the "8",
to the error number of the SMTP
protocol.
The following columns list
several error codes that can
occur:
See point 2 in the note.
8450 -
Action not executed: Mailbox not
available/not reachable.
Try again later.
8451 -
Action aborted: Local processing
error
Try again later.
8500 -
Syntax error: Error not
recognized. This also includes
the error when a command
string is too long. This can also
Check the parameters of "TM_MAIL". Try to
send an e-mail without authentication. To do this,
replace the USERNAME parameter with an
empty string.
be occur when the e-mail server
does not support the LOGIN
authentication procedure.
8501 -
Syntax error: Parameter or
argument incorrect
You have possibly entered an incorrect address
in TO_S or CC.
8502 -
Command unknown or not
implemented.
Check your entries, in particular the FROM
parameter. This is possibly incomplete and you
have forgotten "@" or ".".
8535 -
SMTP authentication
incomplete.
You have possibly entered an incorrect user
name or incorrect password.
8550 -
Mail server cannot be reached,
you have no access rights.
You have possibly entered an incorrect user
name or password, or the mail server does not
support your LOGIN. Another cause of error
could be an incorrect entry of the domain name
after the "@" in TO_S or CC.
8552 -
Action aborted: Assigned
memory size has been
exceeded
Try again later.
8554 - Transmission failed. Try again later.