1. Home
  2. News
  3. Download
    1. Thunderbird Release Version
    2. Thunderbird 140 ESR
    3. Thunderbird 115 ESR
    4. Thunderbird Beta Version
    5. Language Pack (User Interface)
    6. Dictionaries (Spell Check)
  4. Help & Lexicon
    1. Instructions for Thunderbird
    2. Questions & Answers (FAQ) about Thunderbird
    3. Help for this Website
    4. Last Changes
  5. Forums
    1. Unresolved Threads
    2. Latest Posts
    3. Threads of the last 24 hours
  • Login
  • Register
  • 
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Forum
  • Lexicon
  • Articles
  • Pages
  • More Options
  1. Thunderbird Mail DE
  2. Forum
  3. Hilfe zu E-Mail und allgemeines Arbeiten
  4. Allgemeines Arbeiten / Konten einrichten / Installation & Update

Thunderbird mit VBA aus Access aufrufen [erledigt]

  • mattfi
  • April 30, 2009 at 9:59 PM
  • Closed
  • Thread is Resolved
  • mattfi
    Member
    Posts
    13
    Member since
    4. Apr. 2007
    • April 30, 2009 at 9:59 PM
    • #1

    Hallo Forumsteilnehmer,

    in Access habe ich eine externe Mailverwaltung programmiert. Mit einem Add-on, das ich mir von den TB-Seiten heruntergeladen habe, ziehe ich die Dateien ins Filesystem (*.EML). EML ist in Win XP als Dateikennung mit TB verknüpft. Wenn ich auf eine EML-Datei doppelklicke, geht sie im TB-Viewer auf. Wenn ich sie hingegen mit "FollowHyperlink (Datei.eml)" aus VBA anspreche, kriege ich den Fehler "Die angegebene Datei konnte nicht geöffnet werden". Egal welcher Mime-Typ, die verknüpften Anwendungen aller lassen sich mit VBA ansprechen, nur eben EML/Thunderbird nicht.

    Hat jemand Ahnung, woran das liegen könnte?
    Im Voraus Danke für eure nützlichen Hinweise.

    mattfi

  • mattfi
    Member
    Posts
    13
    Member since
    4. Apr. 2007
    • May 5, 2009 at 9:15 PM
    • #2

    Problem gelöst. VBA-Programmierfehler bzw. Unachtsamkeit.

  • graba
    Global Moderator
    Reactions Received
    607
    Posts
    21,889
    Member since
    17. May. 2006
    Helpful answers
    9
    • May 6, 2009 at 12:17 AM
    • #3

    Danke für die Rückmeldung!

    Gruß
    graba :ziehtdenhut:

    Keine Forenhilfe per Konversation!
    Für Thunderbird-Entwicklung spenden

  • samnok
    Junior Member
    Posts
    1
    Member since
    3. Apr. 2011
    • April 3, 2011 at 11:25 PM
    • #4

    Gilt zwar schon als erledigt, aber ich habe selbst lange nach einer Lösung gesucht und viel probiert.
    Hier eine m.E, gute Möglichkeit (winXP, Access97, Thunderbird 3.1)

    Function ThunderbirdMail(strAn As String, strCC As String, strBCC As String, strBetr As String, strBody As String, strAttPfad As String)

    Dim strThunderPfad As String
    Dim strShell As String
    Dim strEmailpth as String

    'compose-parameters: "to='john@example.com,kathy@example.com',cc='britney@example.com',subject='dinner',body='How about dinner tonight?',attachment='C:\temp\info.doc,C:\temp\food.doc'"
    ' check your correct apllication-path here:
    stremailpth= "C:\programme\thunderbird"
    strThunderPfad = """" & stremailpth & "Thunderbird.exe " & """"

    'strAn = "my email adress," 'seperate multiple receivers with ","
    'strBetr = "my regard"
    'strBody = "my message"
    'for ecel users, if certain range of cells shall be inserted in the message:
    'strBody = Range("A1").Value & " " & Range("C4711").Value & " " & Range("X007").Value

    strShell = strThunderPfad & _
    " -compose """ & _
    "to='" & strAn & "'," & _
    "cc='" & strCC & "'," & _
    "bcc='" & strBCC & "'," & _
    "subject='" & strBetr & "'," & _
    "body='" & strBody & "'," & _
    "attachment='" & strAttPfad & "'" & _
    """"
    'MsgBox strShell 'just to check wether all this looks correct
    Call Shell(strShell, vbNormalFocus)
    End Function

  • Thunder January 5, 2019 at 2:28 AM

    Moved the thread from forum Spezielle Probleme to forum Allgemeines Arbeiten.
  • Community-Bot September 3, 2024 at 7:30 PM

    Closed the thread.

Current app version

  • Thunderbird 152.0.1 veröffentlicht

    Thunder July 4, 2026 at 1:02 PM

Current 140 ESR version

  • Thunderbird 140.12.1 ESR veröffentlicht

    Thunder July 4, 2026 at 1:05 PM

No Advertisements

There are no advertisements here. Maybe you give the website owner (Alexander Ihrig - aka "Thunder") instead something to be able to finance these sites in the long run. Many Thanks!

Thank you for the support!

Coffee to be spent?

Donate now via Paypal*

*Forwarding to PayPal.Me

Thunderbird Mail DE
  1. Imprint & Contact
  2. Privacy Policy
    1. Cookie Policy
  3. Terms of Use
  4. Donation Call for Thunderbird
Help for this website
  • All website support articles
  • How to use website search
  • How to create a forums user account
  • How to create and edit a forums thread
  • How to reset your forums password
Copyright © 2003-2026 Thunderbird Mail DE

You are NOT on an official page of the Mozilla Foundation. Mozilla®, mozilla.org®, Firefox®, Thunderbird™, Bugzilla™, Sunbird®, Seamonkey®, XUL™ and the Thunderbird logo are (among others) registered trademarks of the Mozilla Foundation.

Powered by WoltLab Suite™