Remove redundant (default) arguments

This commit is contained in:
Marcus Hill 2023-01-21 17:26:06 +00:00
parent d73b3cb960
commit 2c7a704b6b
3 changed files with 802 additions and 803 deletions

View File

@ -63,7 +63,7 @@ if ($emails) {
foreach($emails as $email) {
// Get message details
$metadata = imap_fetch_overview($imap, $email,0); // Date, Subject, Size
$metadata = imap_fetch_overview($imap, $email); // Date, Subject, Size
$header = imap_headerinfo($imap, $email); // To get the From as an email, not a contact name
$message = imap_fetchbody($imap, $email, 1); // Body
@ -201,4 +201,4 @@ if ($emails) {
}
}
}

View File

@ -525,7 +525,6 @@ function sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_
$mail->addAddress("$to_email", "$to_name"); // Add a recipient
// Content
$mail->isHTML(true); // Set email format to HTML
$mail->Subject = "$subject"; // Subject
$mail->Body = "$body"; // Content

1600
post.php

File diff suppressed because it is too large Load Diff