Menu

#24 Setting Content-Description for every attachment

open
nobody
None
5
2016-08-08
2016-08-02
Heiko Mück
No

Hi,

we need an option to set the Content-Description for every attachment in a blat-mail. Is this possible?

Thanks

Heiko Mück

Related

Feature Requests: #24

Discussion

  • Chip

    Chip - 2016-08-02

    What filename extension do you want to use on your attachments, and what description for that extension?

    Chip

     
    • Heiko Mück

      Heiko Mück - 2016-08-03

      Hi Chip,

      we have got a special use-case (and only in this use-case we have to set the special content-description, because the receiving Mail-Server ignores the attachment when no content-description is given).

      Here is an example, how the email must be formed:

      Date: Mon Jan 12 15:38:08 2015 GMT
      From: Arzt@kv-safenet.de Arzt@kv-safenet.de
      MIME-Version: 1.0
      To: <dguv-adresse>@kv-safenet.de http://kv-safenet.de/
      Message-ID: <20141014104657.703@kvsafenet.de 20141014104657.703@kvsafenet.de>
      Subject: 278012389_15_0000411_01|12.01.2015 15:38:08
      X-KVC-Dienstkennung: DALE-UV;Einsendung;V1.0
      X-KVC-Sendersystem: MyPVS;V2.14
      Content-Type: multipart/mixed; boundary="------------600AD46A2820671F"</dguv-adresse>

      --------------600AD46A2820671F
      Content-Type: text/plain; charset=utf-8; name="278012389_15_0000411_01.auf"
      Content-Transfer-Encoding: base64
      Content-Disposition: attachment; filename="278012389_15_0000411_01.auf"
      Content-Description: DALE-UV-Auftragsdatei

      ICAgICAgMDEgICAgICAgICAgIERBUlowICAgREFCRSAyMDIxMDE5MjcgICAgICAyMDIxMDE5Mjcg
      ICAgICAxMjA3Nzc3NzcgICAgICAxMjA1OTE0ODEgICAgICAgICAgICAgICAgICAgICAgICAgICAg
      IDIwMTQxMDE0MTAyOTQ5ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
      ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAwMyAgICAgICAgICAgICAgICAgICAg
      ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDIwMjEwMTkyN18x
      Ml8wMDAwMDAxXzAxLnhtbCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
      ICAgIA0K

      --------------600AD46A2820671F
      Content-Type: text/xml; name="278012389_15_0000411_01.xml"
      Content-Transfer-Encoding: 8bit
      Content-Disposition: attachment; filename="278012389_15_0000411_01.xml"
      Content-Description: DALE-UV-Nutzdaten

      <dabe_file>
      <unb>
      <unb_2>202101927</unb_2>
      :

      </unb></dabe_file>

      --------------600AD46A2820671F--

      Only if the X-Header "X-KVC Dienstkennung" is set with the value „DALE-UV;Einsendung;V1.0“ the two attached files need the additional content-description, the xml-file needs "DALE-UV-Nutzdaten" and the auf-file needs „DALE-UV Auftragsdaten“.

      That is the reason why we would appreciate to get a new parameter to set the content-description for every single attachment.

      We use blat for a lot of scenarios as command-line mailer and until today blat is doing everything what we want in a perfect way, so that we would be very sad if we had to use another program.

      Thanks Heiko


      Am 02.08.2016 um 18:17 schrieb Chip <chipprogrammer@users.sf.net chipprogrammer@users.sf.net>:

      What filename extension do you want to use on your attachments, and what description for that extension?

      Chip

      [feature-requests:#24] https://sourceforge.net/p/blat/feature-requests/24/ Setting Content-Description for every attachment

      Status: open
      Group: Next Release (example)
      Created: Tue Aug 02, 2016 01:41 PM UTC by Heiko Mück
      Last Updated: Tue Aug 02, 2016 01:41 PM UTC
      Owner: nobody

      Hi,

      we need an option to set the Content-Description for every attachment in a blat-mail. Is this possible?

      Thanks

      Heiko Mück

      Sent from sourceforge.net http://sourceforge.net/ because you indicated interest in https://sourceforge.net/p/blat/feature-requests/24/ https://sourceforge.net/p/blat/feature-requests/24/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #24

  • Chip

    Chip - 2016-08-03

    If I allowed the -attach option to include a description with the filename, that would work for you? This is what I am thinking:

    -attach "278012389_15_0000411_01.auf<dale-uv-auftragsdatei>"
    -attach "278012389_15_0000411_01.xml<dale-uv-nutzdaten>"</dale-uv-nutzdaten></dale-uv-auftragsdatei>

    The program would look for the < and > characters to identify a description. These two characters are not valid for use in filenames, which is why I chose them.

    Would this work for your needs?

    Chip

     
    • Heiko Mück

      Heiko Mück - 2016-08-04

      Hi Chip,

      that would be perfect. Thank you very much. How long do you need for this?

      Mit freundlichen Grüßen

      Heiko Mück


      Schwerdtner Medizin-Software GmbH
      Q-MED Software für Ärzte und Kliniken
      Quality in Medicine

      Büro Nord: Hindenburgstr. 2-4, 30175 Hannover, Tel. 0511 165918-0, Fax 0511 165918-90
      Büro Süd: Neukirchner Weg 25, 92237 Sulzbach-Rosenberg, Tel. 0511 165918-40
      Trainingscenter Süd: Waldstr. 11, 67700 Niederkirchen

      Amtsgericht Hannover HRB 209865
      UStID DE254099439 - Steuernr. 26/613/071903
      Geschäftsführer Christoph Schwerdtner


      Am 03.08.2016 um 17:53 schrieb Chip <chipprogrammer@users.sf.net chipprogrammer@users.sf.net>:

      If I allowed the -attach option to include a description with the filename, that would work for you? This is what I am thinking:

      -attach "278012389_15_0000411_01.auf<dale-uv-auftragsdatei>"
      -attach "278012389_15_0000411_01.xml<dale-uv-nutzdaten>"</dale-uv-nutzdaten></dale-uv-auftragsdatei>

      The program would look for the < and > characters to identify a description. These two characters are not valid for use in filenames, which is why I chose them.

      Would this work for your needs?

      Chip

      [feature-requests:#24] https://sourceforge.net/p/blat/feature-requests/24/ Setting Content-Description for every attachment

      Status: open
      Group: Next Release (example)
      Created: Tue Aug 02, 2016 01:41 PM UTC by Heiko Mück
      Last Updated: Tue Aug 02, 2016 04:17 PM UTC
      Owner: nobody

      Hi,

      we need an option to set the Content-Description for every attachment in a blat-mail. Is this possible?

      Thanks

      Heiko Mück

      Sent from sourceforge.net http://sourceforge.net/ because you indicated interest in https://sourceforge.net/p/blat/feature-requests/24/ https://sourceforge.net/p/blat/feature-requests/24/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #24

  • Chip

    Chip - 2016-08-04

    I should be able to get this finished and uploaded this weekend.

    Chip

     
  • Chip

    Chip - 2016-08-08

    I have some code written, but I may not get it uploaded tonight (Sunday night). My mother-in-law fell the other day and is in the hospital. If the new code works when I get back from the hospital, then I will get it uploaded tonight.

    Chip

     

    Last edit: Chip 2016-08-08
  • Chip

    Chip - 2016-08-08

    Ok, the code has been tested and made available for download from here at SourceForge. I will wait to publish it to Yahoo! until I hear from you that it works or still has a problem.

    Chip

     
    • Heiko Mück

      Heiko Mück - 2016-08-08

      Hi Chip,

      it works perfect. Thanks a lot for your great support.

      Mit freundlichen Grüßen

      Heiko Mück


      Schwerdtner Medizin-Software GmbH
      Q-MED Software für Ärzte und Kliniken
      Quality in Medicine

      Büro Nord: Hindenburgstr. 2-4, 30175 Hannover, Tel. 0511 165918-0, Fax 0511 165918-90
      Büro Süd: Neukirchner Weg 25, 92237 Sulzbach-Rosenberg, Tel. 0511 165918-40
      Trainingscenter Süd: Waldstr. 11, 67700 Niederkirchen

      Amtsgericht Hannover HRB 209865
      UStID DE254099439 - Steuernr. 26/613/071903
      Geschäftsführer Christoph Schwerdtner


      Am 08.08.2016 um 07:03 schrieb Chip <chipprogrammer@users.sf.net chipprogrammer@users.sf.net>:

      Ok, the code has been tested and made available for download from here at SourceForge. I will wait to publish it to Yahoo! until I hear from you that it works or still has a problem.

      Chip

      [feature-requests:#24] https://sourceforge.net/p/blat/feature-requests/24/ Setting Content-Description for every attachment

      Status: open
      Group: Next Release (example)
      Created: Tue Aug 02, 2016 01:41 PM UTC by Heiko Mück
      Last Updated: Mon Aug 08, 2016 01:04 AM UTC
      Owner: nobody

      Hi,

      we need an option to set the Content-Description for every attachment in a blat-mail. Is this possible?

      Thanks

      Heiko Mück

      Sent from sourceforge.net http://sourceforge.net/ because you indicated interest in https://sourceforge.net/p/blat/feature-requests/24/ https://sourceforge.net/p/blat/feature-requests/24/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #24


Log in to post a comment.

MongoDB Logo MongoDB