Email - sendMailWithAttachment
This command sends an email with a single file attachment. You must provide the sender and recipient of the email and its subject, body, attachment directory path and the attachment file name.
Return type : void
Command Input :
Sender of the email.
Recipient of the email. If there are multiple recipients, the "to" list should be comma separated.
Subject of the email.
Body of the email.
Directory of the attachment file. The path must be local to the system where the blcli was started.
Name of the attachment file.
The following example shows how to send an email:
# Enter the following: blcli Email sendMailWithAttachment email@example.com firstname.lastname@example.org "Hello" "Here is the file" "/tmp" "myfile.txt"