At 02:48 PM 8/7/00 -0300, you wrote:
>Hello.
>
>     I'm trying to run a REBOL script as a cron job. I have set the 
> REBOL_HOME
>variable (in /etc/profile) to point to my REBOL directory, but I'm having
>problems as the script is supposed to send emails and it always complains
>that there is no smtp server set (or something like this). What a I 
>missing?


You need a line something like:

set-net [ [EMAIL PROTECTED] ###.###.#.## ###.###.##.### ]

where you replace name by the "name" of who you want your script to say is 
mailing - needn't be a real person's email name, domain is your domain 
name, and the first series of ### should be replaced by the IP address of 
you smtp server (outgoing mail) and the second series, which may not be 
needed, by your incoming mail server's IP address.

cheers,

Marj




>-Bruno
>
>--
>Bruno G. Albuquerque     [EMAIL PROTECTED]     BeDevId #15362
>       Grupo Brasileiro de Usu�rios de BeOS - Presidente
>                                    http://beos.din.uem.br
>
>Steinbach's Guideline for Systems Programming:
>     Never test for an error condition you don't know how to
>handle.

--
Marjorie A. Tiefert
Principal Scientific Writer & Documentation Website Manager
Life Sciences Information Design
Molecular Simiulations Inc (http://www.msi.com/)

Reply via email to