</p> <p style="text-align: center; font-size: 12px; padding: 5px 0 0 0;"> <a style="text-decoration: none; color: #FFF; font-weight: bold; padding: 5px 10px; background: #FF7000; border-radius: 3px; -webkit-border-radius: 3px;" rel="nofollow" href="' . URL_BASE . 'messages/" target="_blank"> Go to messages » </a> <p style="text-align: center; font-size: 11px; padding: 5px 0 0 0;"> © ' . date('Y') . ' ' . $admin->title . ' </p> </td> </tr> </tbody> </table>'; //<<-- DATABASE $query = $obj->sendMessage(); if ($query == 1) { if ($infoUserMsg->email_notification_msg == 1 && $infoUserMsg->email != '' && filter_var($infoUserMsg->email, FILTER_VALIDATE_EMAIL)) { //<------- * Send Email * ------------> $mail = new PHPMailer(); /*------------- * SMTP *------------ */ if (SMTP_USERNAME != '') { $mail->isSMTP(); // Set mailer to use SMTP $mail->Host = SMTP_HOST; // Specify main and backup SMTP servers $mail->SMTPAuth = true; // Enable SMTP authentication