'comments')
message = mMsg % (obj_url, comments)
context.MailHost.send(message, mTo, mFrom, mSubj)
The loop i was thinking of was
for user in context.portal_membership.listMembers():
if "Manager" in
context.portal_membership.getMemberById(user.id).getRoles():
But unsure of whether this is
ssage % (
administratorEmailAddress,
user.email,
object.TitleOrId(),
object.Description(),
object.absolute_url()
)
mhost.send(msg)
--
View this message in context:
http://www.nabble.com/Automated-email-response-tf3540615.html#a9883575
Sent from the Python - python-list mailing list archive at Nabble.com.
--
http://mail.python.org/mailman/listinfo/python-list