Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VBA: Absender-Mailadresse ermitteln

Empfohlene Antworten

Veröffentlicht

Folgendes Problem:

Ich benötige die Absenderadresse (Emailadresse) einer ausgewählten Email in Outlook 2000. Dazu nutze ich folgenden Code:


    Dim active_explorer As Outlook.explorer

    Dim active_folder As Outlook.MAPIFolder

    Dim mail_item As MailItem


    Set active_explorer = Application.ActiveExplorer

    Set active_folder = active_explorer.CurrentFolder


    If active_folder.DefaultItemType = olMailItem Then


        For Each mail_item In active_explorer.Selection

            ...

        Next mail_item


    End If

Dieser funktioniert auch, d.h. er iteriert durch die selektierten Emails und liefert jede einzelne als mailitem-Objekt.

Nun benötige ich aber von diesem Mailitem-Objekt die Absenderadresse. Leider habe ich bisher noch keine Möglichkeit gefunden, diese zu ermitteln. Es gibt zwar die Möglichkeit, den Namen des Absenders zu ermitteln, allerdings bringt mich das nur dann weiter, wenn dieser in den Kontakten vorhanden ist. Auch über die ReplyRecipient-Eigenschaft funktioniert es nicht in jedem Fall.

Weiss jemand weiter ?

Vielen Dank im Voraus.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.