This is a very simple script fragment showing how to use the ETRN event. This event is used to start an outgoing mail queue to a transient mail host, delivering all queued mail in one burst.. For example, a script might initiate a PPP connection to the Internet, and then call the ETRN command to send all queued mail for the ISP's mail server being used as a smarthost.