bijlages worden niet gemaild
Code (php)
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
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
<?php
//if there is post
if($_SERVER['REQUEST_METHOD'] == 'POST'){
//if there is an attachment
if(!empty($_FILES['attachment']['name']))
//store some variables
$file_name = $_FILES['attachment']['name'];
$temp_name = $_FILES['attachment']['tmp_name'];
$file_type = $_FILES['attachment']['type'];
//get the extension of the file
$extension = pathinfo($file, PATHINFO_EXTENSION);
//only these file types will be allowed
$allowed_extensions = array('doc', 'docx','pdf','zip','png','jpg');
//mail essentials
$from = $_POST['email'];
$to = "[email protected]";
$subject = "sollicitatie";
$message = "testtest";
//things you need
$file = $temp_name ;
$content = chunk_split(base64_encode(file_get_contents($file)));
$uid = md5(uniqid(time()));
//standard mail headers
$header = "From: ".$from."\r\n";
$header .= "Reply-To: ".$replyto."\r\n";
$header .= "MIME-Version: 1.0\r\n";
//declaring we have multiple kind of email
$header .= "Content-Type: multipart/mixed; boundary=\"".$uid."\"\r\n\r\n";
$header .= "This is a multi-part message in MIME format.\r\n";
//plain text part
$header .= "_ _".$uid."\r\n";
$header .= "Content-type:text/plain; charset=iso-8859-1\r\n";
$header .= "Content-Transfer-Encoding: 7bit\r\n\r\n";
$header .= $message."\r\n\r\n";
//file attachment
$header .= "_ _".$uid."\r\n";
$header .= "Content-Type: ".$file-type."; name=\"".$file_name."\"\r\n";
$header .= "Content-Transfer-Encoding: base64\r\n";
$header .= "Content-Disposition: attachement; filename=\"".$file_name."\"\r\n";
$header .= $content."\r\n\r\n";
// send the mail
if (mail($to, $subject, "", $header)) {
echo "succes";
} else {
echo "fail";
}
exit();
} else {
echo "file type not allowed";
}
?>
//if there is post
if($_SERVER['REQUEST_METHOD'] == 'POST'){
//if there is an attachment
if(!empty($_FILES['attachment']['name']))
//store some variables
$file_name = $_FILES['attachment']['name'];
$temp_name = $_FILES['attachment']['tmp_name'];
$file_type = $_FILES['attachment']['type'];
//get the extension of the file
$extension = pathinfo($file, PATHINFO_EXTENSION);
//only these file types will be allowed
$allowed_extensions = array('doc', 'docx','pdf','zip','png','jpg');
//mail essentials
$from = $_POST['email'];
$to = "[email protected]";
$subject = "sollicitatie";
$message = "testtest";
//things you need
$file = $temp_name ;
$content = chunk_split(base64_encode(file_get_contents($file)));
$uid = md5(uniqid(time()));
//standard mail headers
$header = "From: ".$from."\r\n";
$header .= "Reply-To: ".$replyto."\r\n";
$header .= "MIME-Version: 1.0\r\n";
//declaring we have multiple kind of email
$header .= "Content-Type: multipart/mixed; boundary=\"".$uid."\"\r\n\r\n";
$header .= "This is a multi-part message in MIME format.\r\n";
//plain text part
$header .= "_ _".$uid."\r\n";
$header .= "Content-type:text/plain; charset=iso-8859-1\r\n";
$header .= "Content-Transfer-Encoding: 7bit\r\n\r\n";
$header .= $message."\r\n\r\n";
//file attachment
$header .= "_ _".$uid."\r\n";
$header .= "Content-Type: ".$file-type."; name=\"".$file_name."\"\r\n";
$header .= "Content-Transfer-Encoding: base64\r\n";
$header .= "Content-Disposition: attachement; filename=\"".$file_name."\"\r\n";
$header .= $content."\r\n\r\n";
// send the mail
if (mail($to, $subject, "", $header)) {
echo "succes";
} else {
echo "fail";
}
exit();
} else {
echo "file type not allowed";
}
?>
<html>
<body>
<form method="post" action="attach.php" enctype="multipart/form-data" >
<p>
<label for="email">email</label>
<input type="text" name="email" value="from" />
<br />
<input type ="file" name="attachment"/>
<br/>
<input type="submit" value="send"/>
</p>
</form>
</body>
</html>
dit komt in mijn mail :
This is a multi-part message in MIME format.
_ _55a833673d4079effea771f9f868114a
Content-type:text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
testtest
_ _55a833673d4079effea771f9f868114a
0; name="06112009_tjzrv6r2.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachement; filename="06112009_tjzrv6r2.gif"
R0lGODdhAASAAMYAAAQCBAyGNIRGFARKHIyKjEQmDMTGxAQmDERCRCwWBKyqrOTm5FxeXAQSBCQi
JLxiHJyanNTW1DQyNBwOBAxuLFRSVLy6vPT29GxubAQKBHx6fBQSFISChJxWHAxaJJSSlGQ2FMzO
zAQ2FExKTLSytOzu7GRmZCwqLNRyJKSipNze3Dw6PBwaHAwGBAx+NFxaXMTCxPz+/HR2dAwKDAQG
BAySPIxOFARSJIyOjFQuDMzKzAQuFERGRDweDKyurOzq7GRiZAQaDCQmJMRqJJyenNza3DQ2NAx2
LFRWVLy+vPz6/HRydHx+fBQWFISGhKxeHAxiJJSWlHQ+FNTS1AQ+HExOTLS2tPTy9GxqbCwuLOR6
JKSmpOTi5Dw+PBweHAwODAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwA
AAAAAASAAAAH/oBLXQiDhYSHhomIi4qNjI+OkZCTkpWUl5aZmJuanZyfnqGgo6KlpKemqairqq2s
r66xsLOytbS3trm4u7q9vL+9XQDDxMXGx8jJysvMzc7P0NHS09TV1tfY2drb3N3e3+Dh4uPk5ebn
6Onq6+zt4gju8fLz9PX29/j5+vv8/f7/AAP+EyawoMGDCBMqXMiwocOHECPSgyexosWLGDNq3Mix
o8eP4QiCHEmypMmTKFOqXNmRIsuXMGPKnEmzps2TIm/q3Mmzp8+fQIM2cym0qNGjSJMqXbovJ9On
UKNKnUpVKdGqWLNq3cq160OnXsOKNfkF7NizaBNeTcu2LcQu/jHcyp3blK7duwHh4t3L99zavoAD
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FRIaELFnmHEBjQFi+EShO5mQcPkOAFIfiDJUZoQlOOBjOE/lClQ14w
gjFk4AUWJooD5RGCCYTgBR74zx0fqsIJsVQTgxjhBaHyiAzUlY92yGMGaCuFQ4QQvgUeBAvtEISR
AAQRjHgBCwbRIQ996AybedATX4ChDP01izRmIYakGGEJTwig1kgMESQ0YXawVS8e6EaMPfzhSrAo
CVKd5XUR62PKkDAWEySPFY18pAwwwoD9lcVadqlC98jiRTDyb4c9ZAFaCEXKQWQBCRlowQ6txcEZ
dIFJajTG0lQ4JNV5QoMcPMafMoAFY8hRj6PMwva8wAImzCNkIoGcBCnUBQxoAEW3k4EGNACfntDg
BUyYDnWwqU1MMKEx2DDBLZCQOwCI/pMVuTvnI/RyFwBwIAsaAOf2NIC8eAHMBDRUTgaQoAEsoASB
AKXFIuZZz3vm0z789CdxFgEryYxAAxVAIF+WsMSFHkYI81SocBzR0NRsdKEStdgyR0rSkpq0HF7Q
mn0QQIoswGQDWVvIF0wkBL04AAErsIgDZvQFBBjBeIkqT6iOMasZrAABs+LHy27CTgBsAAEIgAkX
s9CWDCCgCTulkspMAxAUWWsGWStPT4XZhfxkAQFfEMJCuEi1Y9iNgUVyxlmJ6ZGnRrUamvSdBjxh
VKTC9SBaZdlRv3TTnGKCp5Ixwgo8kdLFlmJlADNRE77kVKhKtRrz8MJbS6ERuuFD27KU9eAihDAg
XY52QEbQyKay9iWY4g2wifISC+oK1bZsQDIzjSzAJMMCgOiMRSsg30CPOquh9vSn1FGpS50VU7jy
wxOFtchtmVonXwSVIR/K7Um3izErcve7fwWveMdL3vKaF1ABUQ7/lnehN5EjC+w0wVI1VgUbXsiz
FELmeffL3/16t78RhCyAB0zgAhvYHJtZhBHedSGSvHc612wgZTFkkwZP+MAYzvDF/qvhjLG1wyAO
sYi/q1iA3WgEF65Qic+RhRshADUi9sII7FshPI34xjg2h+hyTKxAAAA7
--55a833673d4079effea771f9f868114a--
Euh, zo hoort het toch ook? Dat je bestand als base64 gecodeerd er bij geplakt wordt in text...
Die boundaries, bij jouw worden ze vooraf gegaan door "_ _". (r46, r52) Moet dat niet "--" zijn, net als aan het eind van je mail, waar je het wel goed doet?
je word hier echt geholpen :S
Zoals karl als zegt doet het script precies wat jij gedaan hebt.. Alleen heb je andere wensen
Je kan ook kijken naar phpmailer daarin kan je ook attachments toevoegen en dan weet je ook zeker dat de mail altijd aan komt!
Gewijzigd op 17/05/2010 19:45:54 door Niels K
Zoals Jelmer al zei, moet je de underscores veranderen naar streepjes (_ naar -)!
Zou je overigens je bericht kunnen aanpassen, en de mail die jij krijgt in code-tags willen zetten? Dan zou het een stuk overzichtelijker zijn ;-)