Params recipient is a string, the email address of the person who is to receive the message. It defaults to user.prefs.mailHost. The default value is nil. If a timeout occurs, the connection is closed and an error message is generated.
Action Sends a mail message.
If there's an error sending the mail message, tcp.sendMail throws a script error which you can catch with a try statement. All of its parameters are optional, a common usage is to only specify some of the parameters and label all parameters with their names. This verb is implemented as a script. Copyright 1999-2001 UserLand Software, Inc. .