Skip to content
This repository was archived by the owner on Jul 20, 2020. It is now read-only.

Commit b2251ae

Browse files
authored
edit to send_plain_email
1 parent ffa4a00 commit b2251ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/example_usage_advanced.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ function send_email($name = "", $address = "", $subject = "", $body = "", $from_
113113
return mail($send_email_to, "=?UTF-8?B?" . base64_encode($subject) . "?=", $body, $send_email_header);
114114
}
115115

116-
function send_plain_email($name = "", $address = "", $subject = "", $body = "", $from_name = null, $from_address = null, $html = false) {
117-
return send_email($name, $address, $subject, $body, $from_name, $from_address, $html);
116+
function send_plain_email($name = "", $address = "", $subject = "", $body = "", $from_name = null, $from_address = null) {
117+
return send_email($name, $address, $subject, $body, $from_name, $from_address, false);
118118
}
119119

120120
if ($process_ipn) {

0 commit comments

Comments
 (0)