this.updateRootObjectReferences(mailMessage); return mailMessage;
this.updateRootObjectReferences(mailMessage);    throw new NotImplementedException();
	public MailMessage run(MimeMessage message, String messageName, String messageDescription) throws FenixServiceException, ExcepcaoPersistencia	{		MailMessage mailMessage = null;		Person creator=null;		try		{			if (message.isMimeType("multipart/*"))			{				Multipart mp = (Multipart) message.getContent();				Multipart cleanedMultipart = removeNonTextAttachments(mp);				message.setContent(cleanedMultipart);				message.saveChanges();			}			// I must convert this into an array because code generator crashes			// if a DAO method has an array parameter			Collection<Address> addressesList = new ArrayList<Address>();			Address[] addresses = message.getAllRecipients();			for (int i = 0; i < addresses.length; i++)			{				addressesList.add(addresses[i]);			}			Collection<MailingList> mailingLists = persistentSupport.getIPersistentMailingList().readReceptorMailingListsForAddress(addressesList, this.readFenixCMS().getConfiguration().getMailingListsHostToUse());			boolean messageCreated = false;			boolean firstMailingList = true;			if (mailingLists.size() > 0)			{								mailMessage = this.createMessage(message);				mailMessage.setName(messageName);				mailMessage.setDescription(messageDescription);				messageCreated = true;			}			for (MailingList mailingList : mailingLists)			{				if (firstMailingList)				{					//I assume that the creator of the message (and possibly the conversation) is the creator of the first receipient mailinglist					creator=mailingList.getCreator();					firstMailingList = false;				}				if (this.senderIsAllowedToSendMessage(message, mailingList))				{					if (!messageCreated)					{						// the very same message will be added to all						// mailing lists						// so we must create only one instance						// the creation occur when one sender who can send to						// this mailinglist is found						// the same message is added to all subsequent						// mailingLists					}					mailingList.getQueue().addMessages(mailMessage);					this.addMailMessageToMailingList(mailMessage, mailingList, creator);				}			}		}		catch (Exception e)		{			throw new FenixServiceException(e);		}		this.updateRootObjectReferences(mailMessage);		return mailMessage;	}