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).
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.
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?
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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?
Status: open
Group: Next Release (example)
Created: Tue Aug 02, 2016 01:41 PM UTC by Heiko Mück
Last Updated: Wed Aug 03, 2016 03:53 PM UTC
Owner: nobody
Hi,
we need an option to set the Content-Description for every attachment in a blat-mail. Is this possible?
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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?
What filename extension do you want to use on your attachments, and what description for that extension?
Chip
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
Related
Feature Requests: #24
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
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
Related
Feature Requests: #24
I should be able to get this finished and uploaded this weekend.
Chip
Thank you a lot.
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
Related
Feature Requests: #24
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
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
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
Related
Feature Requests: #24