Skip to main content

B4A.UTIL.JOBP@IF.SEND-MAIL

Graphical Representation​

B4A-UTIL.MAIL 2Sends an email (Linux)Agent&B4AB_AGENT_O#Login&B4AB_LOGIN_O#ObjectB4A.UTIL.JOBS@UNIX.SEND-MAILJOBS B4A-UTIL.MAIL 3Sends an email (Windows)Agent&B4AB_AGENT_O#Login&B4AB_LOGIN_O#ObjectB4A.UTIL.JOBS@WIN.SEND-MAILJOBSIFIFENDEND

Description​

The action is capable of sending mails via the module util.Mail on Unix/Linux and Windows. On Unix it requires a bash compatible shell to be installed. On Windows at least Powershell 6.0 is needed and the default custom interpreter for the agent must be powershell.

The mail content is based on templates in DOCU objects whose content is provided by XML variables.

Parameter​

&B4AU_CONNECTION_I#
Connection - name of the b4A connection
&B4AU_SUBJECT_I#
Subject - subject of the mail
&B4AU_RECIPIENT_I#
Recipient - recipient of the mail
&B4AU_CC_RECIPIENT_I#
Cc Recipient - Cc recipient of the mail
&B4AU_BCC_RECIPIENT_I#
Bcc Recipient - Bcc recipient of the mail
&B4AU_HEADER_OBJECT_I#
Header - Docu object containing the header for the mail
&B4AU_BODY_OBJECT_I#
Body - Docu object containing the template for the body of the mail
&B4AU_FOOTER_OBJECT_I#
Footer - Docu object containing the footer for the mail
&B4AU_CONTENT_TYPE_I#
Type - Content type for the mail
&B4AU_CONTENT_ENCODING_I#
Encoding - Encoding for the mail
&B4AU_XML_VARIABLE_I#
XML-Variable - XML-Variable that contains the data for the mail body
&B4AU_XML_VARIABLE_KEY_I#
Key - key of the XML-Variable that contains the data for the mail body

Output​

&B4AU_RUNID_O#
RunID of the job that was executed to do the job

Details​

PropertyValue
TypeJOBP
SubtypeIF
FolderPACKAGES/BEST4AUTOMIC/B4A.UTIL/ACTIONS
Activetrue
TitleSends an email using the b4A Module util.Mail using data from an XML variable
Archive Key 1-
Archive Key 2-
CreatedWRITER/B4A am: 2022-02-19 15:26:55
Last ModifiedAndreas Büsching am: 2025-04-24 11:25:32 6 x
Last Used-

Custom Attributes​

NameValue
BBC_SEMANTIC_TYPE#ACTION

True Tasks​

B4A.UTIL.JOBS@UNIX.SEND-MAIL (2)​

Alias
B4A-UTIL.MAIL
Breakpoint
false
Position (x, y)
2, 1
Predecessors
IF

Successors :

False Tasks​

B4A.UTIL.JOBS@WIN.SEND-MAIL (3)​

Alias
B4A-UTIL.MAIL
Breakpoint
false
Position (x, y)
2, 3
Predecessors
IF

Successors :

Runtime​

ERT Method
DYNAMIC_AVERAGE
Current ERT
00 : 05 : 05 No. of past runs : 0 +ERT Correction % : 0

Sync​

No sync definitions.

Variables​

No variables defined.

Prompt Sets​

B4A.UTIL.PRPT.SEND-MAIL​

LabelVariableTypeDefault ValueTooltip
B4AU_CONNECTION_I#{B4A.BASE.VARA.SETTINGS,DEFAULT_CONNECTION,1}
B4AU_SUBJECT_I#``
B4AU_RECIPIENT_I#``
B4AU_CC_RECIPIENT_I#``
B4AU_BCC_RECIPIENT_I#``
LABEL1#``
B4AU_HEADER_OBJECT_I#B4A.UTIL.DOCU.HEADER
B4AU_BODY_OBJECT_I#``
B4AU_FOOTER_OBJECT_I#B4A.UTIL.DOCU.FOOTER
B4AU_CONTENT_TYPE_I#text/html
B4AU_CONTENT_ENCODING_I#ISO-8859-1
LABEL2#``
B4AU_XML_VARIABLE_I#``
B4AU_XML_VARIABLE_KEY_I#``

Automatic Deactivation​

Deactivate on Finish
AFTER_ERROR_FREE_RESTART
Error-free status
-
Deactivate After
0

Runtime Parameters​

AE Priority
0
Timezone
-
Generate at runtime
true
Max. Parallel Tasks
0

Usage​

ParentTypePackageFolder
B4A.PM.JOBP.COMPLIANCE-CHECKJOBPB4A.PMPACKAGES/BEST4AUTOMIC/B4A.PM/SERVICES
B4A.PM.JOBP.DEPENDENCY-CHECKJOBPB4A.PMPACKAGES/BEST4AUTOMIC/B4A.PM/SERVICES
B4A.PM.JOBP.DEPENDENCY-VERIFICATIONJOBPB4A.PMPACKAGES/BEST4AUTOMIC/B4A.PM/SERVICES
B4A.PM.JOBP.GIT-CHANGESJOBPB4A.PMPACKAGES/BEST4AUTOMIC/B4A.PM/SERVICES
B4A.TA.JOBP.RUN-TESTSJOBPB4A.TAPACKAGES/BEST4AUTOMIC/B4A.TA/SERVICES
DEV.DOCKER.JOBP.TEST-RESULT-MAILJOBPDEV.DOCKERINTERNAL/DEV.DOCKER/ACTIONS