Thread Probleme mit dem Mailversand nach Umstieg auf Perl 5.10 (26 answers)
Opened by Michael at 2010-12-16 12:07

Gast Michael
 2010-12-16 13:20
#143634 #143634
Quote
Wie sieht das denn aus, wenn du dir den source code der generierten Mail anzeigen laesst?


Source-Code der Email

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<img width=199 height=35 src="cid:image001.gif">

<div class=abstand>
<h3>Ein neuer Vorgang steht für Sie bereit</h3>

<table border=0 cellpadding=0>


<tr>
<td colspan=2 class="message">
<p><img width=23 height=15 src="cid:image002.gif">
</p>
</td>
</tr>

<tr>
<td class="message">
<p>Lfd. Nr.:</p>
</td>
<td class="message">
<p>1</p>
</td>
</tr>

<tr>
<td class="message">
<p>Aktenbetreff:</p>
</td>
<td class="message">
<p>RZ-Schnellinfo</p>
</td>
</tr>

<tr>
<td class="message">
<p>Vorgangsbetreff:</p>
</td>
<td class="message">
<p>RZ-Schnellinfo Nr. 001</p>
</td>
</tr>

<tr>
<td class="message">
<p>Aktenzeichen:</p>
</td>
<td class="message">
<p><a href="cid:B32-0003_0012.cwf">B32-0003#0012</a></p>
</td>
</tr>

<tr>
<td class="message">
<p>Datum:</p>
</td>
<td class="message">
<p>16.12.2010, 10:40:30 Uhr</p>
</td>
</tr>

<tr>
<td class="message">
<p>&nbsp;</p>
</td>
<td class="message">
<p>&nbsp;</p>
</td>
</tr>

</table>

<p>brabbel ...</p>
</div>
</body>
</html>


Mail-Header

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Microsoft Mail Internet Headers Version 2.0
Received: from XYZ ([127.0.0.1]) by XYZ with Microsoft SMTPSVC(6.0.3790.3959);
Thu, 16 Dec 2010 10:41:57 +0100
Received: from XYZ by XYZ with Microsoft SMTP Server id xxx; Thu, 16 Dec 2010
10:41:57 +0100
Received: from XYZ by XYZ (SPONTS v8.6.0.1288) with ESMTP id
112CEE8EE034-0 for <XYZ@muster.de>; Thu, 16 Dec 2010 04:42:09
-0500
Received: by XYZ (Postfix, from userid 102) id
A2D652F82A7; Thu, 16 Dec 2010 10:41:59 +0100 (CET)
To: Nummer1 <XYZ@muster.de>
From: Nummer2 <XYZ@muster.de>
Reply-To: <XYZ@muster.de>
Subject: Betreff
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="mail_attachement==============="
Message-ID: <XYZ>
Date: Thu, 16 Dec 2010 10:41:59 +0100
X-SPONTS-Version: 8.6.0.1288
Return-Path: XYZ@muster.de
X-OriginalArrivalTime: 16 Dec 2010 09:41:57.0734 (UTC) FILETIME=[7B302060:01CB9D05]

--mail_attachement===============
Content-Type: multipart/alternative; boundary="plain_html==============="

--plain_html===============
Content-Type: multipart/related; boundary="html_images==============="

--html_images===============
Content-Type: text/html; charset="us-ascii"

--html_images===============
Content-Type: image/gif
Content-ID: <image001.gif>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="image001.gif"

--html_images===============
Content-Type: image/gif
Content-ID: <image002.de.gif>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="image002.gif"


--html_images===============--

--plain_html===============--
--mail_attachement===============
Content-Type: application/octet-stream; name="2131-0101_0023.cwf"
Content-ID: <2131-0101_0023.cwf>
Content-Transfer-Encoding: 7bit
Content-Disposition: attachement; filename="2131-0101_0023.cwf"


--mail_attachement===============--


Quote
Schon mal ueberlegt was passiert, wenn es diese Datei nicht gibt, oder du keine Leserechte hast?


Ein Rechteproblem ist für mich nicht ersichtlich. Zu Testzwecken habe ich die betroffenen Datein auf 777 gesetzt. Die Datei wird erstellt und auch als HTML-Mail versandt. Lediglich die Einbettung der Grafiken als auch der Dateianhang funktionieren nicht.

Quote
Gefuehle sollten beim Debugging nur als Anhaltspunkte dienen, verifizieren musst du es schon noch.


Gerne, wenn Du noch einen Vorschlag für mich hast? :-)
Last edited: 2010-12-16 13:22:07 +0100 (CET)

View full thread Probleme mit dem Mailversand nach Umstieg auf Perl 5.10