402
399
'contact_id' : comm.contact_id.id,
403
400
'description': u'' + _('To: ') + to +
404
401
_('\n\nText:\n') + normal_unicode(message),
409
404
if comm.to_send and comm.type == 'email':
410
405
communications_smtpserver_id = self.pool.get('email.smtpclient').search(cr, uid, [('type','=','communications'),('state','=','confirm'),('active','=',True)], context=False)