debug adress

master
Christopher 2020-07-01 17:57:31 +02:00
parent a2436d6042
commit ad9eac6e17
1 changed files with 2 additions and 1 deletions

View File

@ -174,9 +174,10 @@ namespace OpenSim.Modules.EMail
for (int i = 0; i < IMAPInbox.Count; i++) for (int i = 0; i < IMAPInbox.Count; i++)
{ {
MimeMessage message = IMAPInbox.GetMessage(i); MimeMessage message = IMAPInbox.GetMessage(i);
foreach (MailboxAddress adress in message.To.Mailboxes) foreach (MailboxAddress adress in message.To.Mailboxes)
{ {
m_log.Info("[" + Name + "] Message To: " + adress.Address);
m_log.Info("[" + Name + "] Objekt ID: " + adress.Address.Split('@')[0]);
SceneObjectPart sceneObject = m_scene.GetSceneObjectPart(adress.Address.Split('@')[0]); SceneObjectPart sceneObject = m_scene.GetSceneObjectPart(adress.Address.Split('@')[0]);
if (sceneObject != null) if (sceneObject != null)