[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[kagemai-users:0426] Re: バグの情報変更にたいしてメールを送りたくないときの対応



櫻木です。


> ここはたぶん、フィールドの追加で 'remail' という ID の
> フラグフィールドを追加した、ということですよね。


そうです。

下のように書き換えましたがメールが送られてしまいます。
何がよろしくないのでしょうか。。



> | eid = 'assigned'
> | mailon = message['remail']
> | :
> | :
> | to = to.uniq -project.notify_addresses - report.email_addresses
> | if !to.empty? && mailon == 'on' then
> |   project.sendmail_to(report ,message,to, [] ,[])
> | end
>