powermail attachments bei TYPO3 4.4 und 4.5

  • jetzt-ich jetzt-ich
    TYPO3-Anwärter
    0 x
    7 Beiträge
    0 Hilfreiche Beiträge
    04. 02. 2011, 20:06

    Hi!
    Ich habe ein Problem mit den Attachments an Mails.
    Ich habe einmal eine Installation Typo3 4.4, bei der das nachfolgende Skript funktioniert.

    1. plugin.tx_powermail_pi1 {
    2. upload.attachment = 1
    3. # Some settings for Emails
    4. email {
    5. # Settings for mail to the default receiver(s)
    6.  
    7. recipient_mail {
    8. # stdWrap for uploaded attachments
    9. attachment = TEXT
    10. attachment.field = fileadmin/pic.png
    11. # Add some attachments to the email (wrap every attachment with , if you want to add more than only one)
    12. addAttachment = COA
    13. addAttachment {
    14. 10 = TEXT
    15. 10.value = fileadmin/pic.png
    16. 10.wrap = |,
    17. }
    18. }
    19. # Settings for mail to the user
    20. sender_mail {
    21. # Add some attachments to the email (split every attachment with , if you want to add more than only one)
    22. addAttachment = COA
    23. addAttachment {
    24. 10 = TEXT
    25. 10.value = fileadmin/pic.png
    26. 10.wrap = |,
    27. }
    28. }
    29. }
    30. }

    In der Installation von TYPO3 4.5 gibt es aber das Problem das Dateien mit der Endung .jpg nicht angehängt werden, .pdf oder .png werden mit mit „Teil 1.1“ ohne Dateiendung etc. angehängt. Ist das ein allgemeines Problem oder weiß jemand einen Rat? Ich sitz da nun schon eine Ewigkeit dran und weiß nicht mehr weiter.


  • 1
  • jetzt-ich jetzt-ich
    TYPO3-Anwärter
    0 x
    7 Beiträge
    0 Hilfreiche Beiträge
    06. 02. 2011, 17:41

    Ich bin nicht der Superprofi aber es sieht so aus, als ob Powermail für TYPO3 4.5 noch eine Anpassung braucht. Wenn das jemand zuverlässig bestätigen könnte, wäre ich dankbar.

    Folgendes Vorgehen im BE hat mein Problem gelöst:
    Installation -> All Configuration (vorher muss natürlich noch folgendes gemacht werden: In the typo3conf/ folder, create a file named ENABLE_INSTALL_TOOL.) -> All Configuration -> und den folgenden Abschnitt suchen:
    [substituteOldMailAPI]- Boolean: If this is set, old calls to t3lib_utility_mail::Mail() will be translated to new t3lib_mail calls. This should work on most cases and thus respect the above transport settings. If you get garbled emails (or no attachments), consider setting this off. Ask the extension author to upgrade their code to make use of t3lib_mail (instead of the deprecated t3lib_htmlmail).
    - Hier das Häckchen entfernen und alles läuft wieder prima.

    PS: [url=http://www.youtube.com/watch?v=NFF1vDVrYQI]Ein richtig gutes Video für Updates kann man auf Youtube von jweildand.net sehen.[/url] Hier habe ich auch den Stoß für die entscheidende Richtung gefunden. Vielen Dank dafür.

  • 1