Server Smalltalk Guide

Sending SMTP/Internet e-mail

To send SMTP e-mail, you use the 'mailto:user@host' URL format with mail messages (the receiver) in the Internet mail standard defined in RFC822. A message is sent only to the receiver identified in the argument regardless of any To:, Cc:, or Bcc: header fields in the message.

The SMTP transport supports sending mail through MX mail forwarders by redirecting messages through an SMTP smart host, normally a conventional mailing system. You can configure this using the following system-wide setting:

SstSMTPCommunications smtpSmartHost: '<smart host name>'

Below is an example of sending a message using this mechanism:

'To: Johnny <john.smith@firm.com>
From: A Doit <doit@doit.org>
Subject: Look at the power of SST!
 
This was sent to you courtesy of a Smalltalk doit and SST.'
   sstEmailTo: 'mailto:john.smith@firm.com'

You will have to discover for yourself how to send anonymous mail.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]