Hi,

> I only have one small problem left, with this aproach the commentator 
> gets a notification mail even when he makes the comment himself

Email address being posted is got by 'REQUEST.form[email]' (if entered). 
So you can check if it's included in 'addr_list' before sending 
notification email.

For example:
--------------------------------------------------
for addr in addr_list:
     if addr == REQUEST.form[email]:
         continue
     else:
         to_addr = addr
         from_addr = context.getNotify_from()
         ...
--------------------------------------------------

Regards,

-- 
Yusuke NAKAI

mail: [EMAIL PROTECTED]
web : http://nagosui.org
_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to