mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Remove temp logging
This commit is contained in:
parent
f81fd16d26
commit
13a14d1b05
1 changed files with 0 additions and 11 deletions
|
|
@ -149,17 +149,6 @@ class Mails extends Action
|
|||
$mail->AltBody = \strip_tags($mail->AltBody);
|
||||
$mail->AltBody = \trim($mail->AltBody);
|
||||
|
||||
if (\str_contains($mail->Body, 'buttonText') || \str_contains($mail->AltBody, 'buttonText')) {
|
||||
Console::warning('Email might contain placeholder. Logs relevant to verify and isolate the issue:');
|
||||
var_dump($mail->Body);
|
||||
var_dump($mail->AltBody);
|
||||
\var_dump($message->getPayload());
|
||||
\var_dump($message->getPid());
|
||||
\var_dump($message->getQueue());
|
||||
\var_dump($message->getTimestamp());
|
||||
Console::warning('End of placeholder detection report.');
|
||||
}
|
||||
|
||||
$replyTo = System::getEnv('_APP_SYSTEM_EMAIL_ADDRESS', APP_EMAIL_TEAM);
|
||||
$replyToName = \urldecode(System::getEnv('_APP_SYSTEM_EMAIL_NAME', APP_NAME . ' Server'));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue