[Zope] Re: sendmail tag

Jason Bush jason@nol.org
Thu, 16 Jan 2003 10:23:11 -0600


Jason Bush wrote:

> Sungmook Kim wrote:
>
>> thanks.
>>
>> does anyone know and tell me how to write a code to receive the ip 
>> adress of the sender within this sendmail tag (without using an extra 
>> zope product) or in general, e.g. in guestbooks?
>>
>> cheers,
>>
>> sungmook
>>
>>  
>>
> If you want the IP of the client running a mail script
> <dtml-var "REQUEST.REMOTE_ADDR">
> will give you that.
>
> Hope that helps.
>
Note that if a proxy is involved the IP is in HTTP_X_FORWARDED_FOR.

-- 
"The wise man desires to be slow to speak but quick to act." --Confucious
Jason Bush  |  (402) 471-6517  |   jason@nol.org   |   http://www.nol.org