However, at some point, this utility becomes
more cumbersome than helpful for complex messages and you should consider switching to a
full-fledged email application.
-s
SERVER
[:
PORT
]
Specifies the SMTP server. Don??™t include a protocol with the SMTP server
argument??”include only the full server name such as
smtp.myserver.com
. The default server is
Localhost. You may also specify a port number to use when contacting the server. The default
setting is the standard SMTP port of 25.
-a
FILE
[
FILE
...]
Adds one or more file attachments to the email message. You can use
this option to send complex test data.
544 CHAPTER 23
INCREASING PRODUCTIVITY AT THE COMMAND LINE
-cc
ADDRESS
[
ADDRESS
...] Defines one or more carbon copy recipients. These addresses
appear in the CC field of the message.
-bcc ADDRESS [ADDRESS ...] Defines one or more blind carbon copy recipients. Even
though these email addresses receive the message, they won??™t appear as part of either the To or
CC fields. Instead, you??™ll normally see a default entry, such as Undisclosed-Recipient.
-xu USERNAME Specifies the username for SMTP server authentication.
Pages:
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261