Skip to content

Commit e8b911b

Browse files
committed
Use php functions instead of imap functions
1 parent a9f6009 commit e8b911b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

public_html/lists/admin/bounce.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
$actionresult .= sprintf(s('Made subscriber %s confirmed').'<br />', $userid);
8585
} else {
8686
$actionresult .= sprintf(s('Made subscriber %s unconfirmed').'<br />', $userid);
87-
}
87+
}
8888
}
8989

9090
if (!empty($userid) && $maketext) {
@@ -223,10 +223,10 @@
223223

224224
switch ($transfer_encoding) {
225225
case 'quoted-printable':
226-
$bounceBody = imap_qprint($bounce['data']);
226+
$bounceBody = quoted_printable_decode($bounce['data']);
227227
break;
228228
case 'base64':
229-
$bounceBody = imap_base64($bounce['data']);
229+
$bounceBody = base64_decode($bounce['data']);
230230
break;
231231
case '7bit':
232232
case '8bit':

public_html/lists/admin/processbounces.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ function decodeBody($header, $body)
166166
}
167167
switch ($transfer_encoding) {
168168
case 'quoted-printable':
169-
$decoded_body = @imap_qprint($body);
169+
$decoded_body = quoted_printable_decode($body);
170170
break;
171171
case 'base64':
172-
$decoded_body = @imap_base64($body);
172+
$decoded_body = base64_decode($body);
173173
break;
174174
case '7bit':
175175
case '8bit':

0 commit comments

Comments
 (0)