Hi,

> I tried to find where to change to BCC but could not find the right 
> reference, i agree with this beeing a problem, is it hard to change?.

Notification mail is send by cbtool.send_mail() method:

--------------------------------------------------
         ...
         mgsheader = """To: %s
From: %s
Mime-Version: 1.0
Content-Type: text/plain; Charset=utf-8

""" % (to_addr,from_addr)
         cbtool.send_mail(mgsheader+msgbody, to_addr, from_addr, ...
         ^^^^^^^^^^^^^^^^
--------------------------------------------------

This method is defined in COREBlog2/COREBlogTool.py from line 238. And 
this uses send() method of SecureMailHost. But this method can't handle BCC.

To handle BCC, using secureSend() method of SecureMailHost is needed. 
But this approach seems to be a bit trouble. How about taking separate 
sending approach?

To send mail separately, you can use 'for' loop for addr_list.
For example:

--------------------------------------------------
#Send notify mail if need
if context.getSend_comment_notification():
     try:
         for addr in addr_list:
             to_addr = addr
             ...
--------------------------------------------------


> This might be to ask for to much but i will still ask, is it a hard job 
> to add a check box (notify me when furter comments are added to this 
> post) in the comment form and have the  mails selected bu this check box?

It seems to be hard. At least beyond my reach.


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