[REBOL] IP Address
From: the::optimizer::tiscali::it at: 8-Jan-2004 18:03
Hi again,
few questions (again).
1. is there a way to obtain the IP address of a e-mail sender from the
header of the message? 'cause I have not find it directly specified there,
but those of the smtp servers which receive the mail.
2. I'm building a bot in Rebol that can receive mails, parse them and
execute the commands specified in them. This is to be able to interact
with my computer at home while I'm at work as there have only e-mail
service and my home ip address is not static (so putting apache on it and
then using CGI has to be "tunneled" through the use of mail as information
vector).
One of the things I would like to create are good HTML reports of the
message/commands received from the bot logs file. I would like to save
those logs in XML format, but I have not found a simple way to create the
XML files.
From the XML I then will easily use a Rebol script that converts them into
HTML and sends them back as a mail.
Is there a good (but simple) XML and HTML builder in Rebol out there that
I can embed in my bot (something more than XMLgen)?
Once finished I'll upload the sources of the bot to the library (under
which category still I do not know).
This is more as an exercise than for real use as the bot already works but
there's not advanced logging abilities.
Thanks
Mauro