Bmail mail sending stattils comman
You're looking for the common commands used to send emails using the bmail
command-line email client!
Here are some common commands:
Sending an email
bmail -s subject -t [email protected] -m "message body"
: Send an email with a subject, to a specific recipient, and a message body.bmail -s "Hello World" -t [email protected] -m "This is a test email"
: Send an email with the subject "Hello World" to [email protected] with a message body "This is a test email".
Attachments
bmail -s subject -t [email protected] -m "message body" -a attachment_file
: Send an email with a subject, to a specific recipient, a message body, and an attachment.bmail -s "Hello World" -t [email protected] -m "This is a test email" -a example.txt
: Send an email with the subject "Hello World" to [email protected] with a message body "This is a test email" and an attachment namedexample.txt
.
CC and BCC
bmail -s subject -t [email protected] -m "message body" -c [email protected]
: Send an email with a subject, to a specific recipient, a message body, and CC a recipient.bmail -s "Hello World" -t [email protected] -m "This is a test email" -c [email protected]
: Send an email with the subject "Hello World" to [email protected] with a message body "This is a test email" and CC [email protected].bmail -s subject -t [email protected] -m "message body" -b [email protected]
: Send an email with a subject, to a specific recipient, a message body, and BCC a recipient.bmail -s "Hello World" -t [email protected] -m "This is a test email" -b [email protected]
: Send an email with the subject "Hello World" to [email protected] with a message body "This is a test email" and BCC [email protected].
Other options
-f [email protected]
: Specify the sender's email address.-r [email protected]
: Specify the reply-to email address.-d
: Enable debugging mode.
These are just some of the common commands used with bmail
. You can refer to the bmail
documentation or man page for more information on available options and syntax.