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.

Mail über Access im Nur Textformat senden

Empfohlene Antworten

Hi Leute,

habe folgendes Script:

Private Sub Befehl48_Click()

  ' Outlook Applikation

  Dim ool As Outlook.Application

  Dim oInspector As Outlook.Inspector

  Dim oMail As Outlook.MailItem



  ' Adresse anzeigen und Änderung ermöglichen



  ' Verweis zu Outlook + neue Nachricht

  Set ool = CreateObject("Outlook.Application")

  Set oMail = ool.CreateItem(olMailItem)


  ' Befreff-Zeile

  oMail.Subject = "Gerätebegleitschein // " & RMA & " // " & kundenname & " // " & " Kunden RMA: " & Kunden_RMA


  ' An-Zeile (Empfänger)

  oMail.To = "service@Firma.de"   ' Emailadresse des Empfängers

  oMail.Recipients.ResolveAll

  oMail.Display


  ' Texteingabe (Nachricht selbst)

    oMail.Body = RMA & vbNewLine & vbNewLine & "Gerätebegleitschein" _

    & vbNewLine & vbNewLine _

    & "Meldedatum:         " & meldedatum & vbNewLine _

    & "Kundendaten:        " & kundenname & vbNewLine _

    & "Ansprechpartner:    " & kundenansprechpartner & vbNewLine _

    & "Telefonnummer:      " & kundentelefonnummer & vbNewLine & vbNewLine _

    & "Produktdaten:       " & produktname & " " & produkt_bezeichnung & vbNewLine _

    & "Produktname:        " & produkt_produktnummer & vbNewLine _

    & "Seriennummer:       " & Seriennummer & vbNewLine _

    & "Supportpack PN:     " & SPPN & vbNewLine _

    & "Supportpack SN:     " & SPSN & vbNewLine _

    & "Zählerstand:        " & zaehlerstand & vbNewLine & vbNewLine _

    & "Fehlerbeschreibung: " & Fehlerbeschreibung & vbNewLine & vbNewLine _

    & "Status:             " & Status & vbNewLine


  Set ool = Nothing

  Set oInspector = Nothing

  Set oMail = Nothing

End Sub

Weiß jemand wie ich über das Script an Outlook übergeben kann, dass Outlook diese Nachrricht automatisch im Nur-Text Format oder evtl. eine bestimmte Schriftart übergeben kann?

Accessversion ist 2002.

Danke schonmal

Soweit ich weiss wird die Nachricht, wenn Du sie mit


ItemMail.Body = "Nachricht"

übermittelst immer im "Nur Text"-Format gesendet. HTML-Nachrichten werden mit

ItemMail.HTMLBody = "HTML-Nachricht"

gesendet.

Funktioniert so nicht ganz,

hab es aber jetzt rausbekommen:

oMail.BodyFormat = olFormatPlain

eingefügt und es geht!

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.