Thanx again,<br><br>I have not had the time to check the last code but i&#39;m sure it will work fine.<br><br>The checkbox is also fine to leave out, the only problem would be if someone gets mail and tells me he don&#39;t like to have it, but they will have to live with it. I always have the possibility to erase their address in the comment.
<br><br>Is it ok if i add a feature request and adds this sample code? and adds you to the reference Mr NAKAI?<br><br>/Niklas<br><br><br><br><div><span class="gmail_quote">On 12/20/06, <b class="gmail_sendername">Yusuke NAKAI
</b> &lt;<a href="mailto:nyusuke@nagosui.org">nyusuke@nagosui.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>&gt; I tried to find where to change to BCC but could not find the right<br>&gt; reference, i agree with this beeing a problem, is it hard to change?.<br><br>Notification mail is send by cbtool.send_mail() method:<br>
<br>--------------------------------------------------<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mgsheader = &quot;&quot;&quot;To: %s<br>From: %s<br>Mime-Version: 1.0<br>Content-Type: text/plain; Charset=utf-8<br><br>&quot;&quot;&quot; % (to_addr,from_addr)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cbtool.send_mail(mgsheader+msgbody, to_addr, from_addr, ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^<br>--------------------------------------------------<br><br>This method is defined in COREBlog2/COREBlogTool.py from line 238. And
<br>this uses send() method of SecureMailHost. But this method can&#39;t handle BCC.<br><br>To handle BCC, using secureSend() method of SecureMailHost is needed.<br>But this approach seems to be a bit trouble. How about taking separate
<br>sending approach?<br><br>To send mail separately, you can use &#39;for&#39; loop for addr_list.<br>For example:<br><br>--------------------------------------------------<br>#Send notify mail if need<br>if context.getSend_comment_notification
():<br>&nbsp;&nbsp;&nbsp;&nbsp; try:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for addr in addr_list:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to_addr = addr<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>--------------------------------------------------<br><br><br>&gt; This might be to ask for to much but i will still ask, is it a hard job
<br>&gt; to add a check box (notify me when furter comments are added to this<br>&gt; post) in the comment form and have the&nbsp;&nbsp;mails selected bu this check box?<br><br>It seems to be hard. At least beyond my reach.<br><br>
<br>Regards,<br><br>--<br>Yusuke NAKAI<br><br>mail: <a href="mailto:nyusuke@nagosui.org">nyusuke@nagosui.org</a><br>web : <a href="http://nagosui.org">http://nagosui.org</a><br>_______________________________________________
<br>COREblog-en mailing list<br><a href="mailto:COREblog-en@postaria.com">COREblog-en@postaria.com</a><br><a href="http://postaria.com/mailman/listinfo/coreblog-en">http://postaria.com/mailman/listinfo/coreblog-en</a><br>
Unsubscription writing to <a href="mailto:coreblog-en-leave@postaria.com">coreblog-en-leave@postaria.com</a><br></blockquote></div><br><br clear="all"><br>-- <br>With best regards / med vänlig hälsning<br><br>Niklas