File manager - Edit - /home/custbahd/irungikitchen.com/admin/clients/mailer/email/1.php
Back
<?php $conn= mysqli_connect("localhost", "custbahd_customassistname", "Rwatangabo1son", "custbahd_irungi"); use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; require_once __DIR__ . '/vendor/phpmailer/src/Exception.php'; require_once __DIR__ . '/vendor/phpmailer/src/PHPMailer.php'; require_once __DIR__ . '/vendor/phpmailer/src/SMTP.php'; $mail = new PHPMailer(true); $mail->SMTPDebug = 0; $mail->isSMTP(); $mail->Host = 'premium146.web-hosting.com'; $mail->SMTPAuth = true; $mail->Username = "admin@irungikitchen.com"; $mail->Password = "Irungi@256"; $mail->SMTPSecure = "ssl"; $mail->Port = 465; $email = "ianmuhumuza@gmail.com"; $mail->From = "admin@irungikitchen.com"; $mail->FromName = "Irungi Kitchen"; $mail->addAddress("$email"); $mail->isHTML(true); $mail->Subject = "Contact | Irungi Kitchen"; $mail->Body = " <table style='border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #ffffff;width:100%' cellpadding='0' cellspacing='0'> <tbody> <tr style='vertical-align: top'> <td style='word-break: break-word;border-collapse: collapse !important;vertical-align: top'> <div class='u-row-container' style='padding: 0px;background-color: transparent'> <div class='u-row' style='Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #fcf9f8;'> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:11px 11px 11px;font-family:Cabin,sans-serif;' align='left'> <table width='100%' cellpadding='0' cellspacing='0' border='0'> <tr class='logo'> <td style='padding-right: 0px;padding-left: 0px;' align='center'> <img align='center' border='0' src='https://irungikitchen.com/img/il.png' alt='Irungi Kitchen' style='border-radius: 100px;'> </td> </tr> </table> </td> </tr> </tbody> </table> </div> </div> </div> <div class='u-row-container' style='padding: 0px;background-color: transparent'> <div class='u-row' style='Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #fcf9f8;'> <div style='border-collapse: collapse;display: table;width: 100%;background-color: transparent;'> <div class='u-col u-col-100' style='max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;'> <div style='width: 100% !important;'> <div style='padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;'> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:44px 10px 14px;font-family:Cabin,sans-serif;' align='left'> <div style='line-height: 140%; text-align: center; word-wrap: break-word;'> </div> </td> </tr> </tbody> </table> <table style='margin-top:-40px;font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:4px 10px 10px;font-family:Cabin,sans-serif;' align='left'> <div style='line-height: 170%; text-align: center; word-wrap: break-word;'> <p style='font-size: 14px; line-height: 170%;'><span style='font-family: Cabin, sans-serif; font-size: 14px; line-height: 27.2px;'> <span style='font-size: 14px; line-height: 30.6px;'>Thank you for contacting Irungi Kitchen, we'll get back to you shortly or you can call us by hitting the button below.</span></span></p> </div> </td> </tr> </tbody> </table> <br> <br> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:10px 10px 55px;font-family:Cabin,sans-serif;' align='left'> <div align='center'> <a href='tel:+256707681086' target='_blank' style='box-sizing: border-box;display: inline-block;font-family:Cabin,sans-serif;text-decoration: none;-webkit-text-size-adjust: none;text-align: center;color: #ffffff; font-weight: bold; background-color: #f195b2; border-radius: 4px;-webkit-border-radius: 4px; -moz-border-radius: 4px; width:auto; max-width:100%; overflow-wrap: break-word; word-break: break-word; word-wrap:break-word; mso-border-alt: none;'> <span style='display:block;padding:13px 55px;line-height:120%;'><span style='font-family: Cabin, sans-serif; font-size: 16px; line-height: 19.2px;'><span style='line-height: 19.2px; font-size: 16px;'>CONTACT US</span></span></span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <div class='u-row-container' style='padding: 0px;background-color: transparent'> <div class='u-row' style='Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #fff5ee;'> <div style='border-collapse: collapse;display: table;width: 100%;background-color: transparent;'> <div class='u-col u-col-100' style='max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;'> <div style='width: 100% !important;'> <div style='padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;'> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:36px 10px 10px;font-family:Cabin,sans-serif;' align='left'> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:0px 55px 21px;font-family:Cabin,sans-serif;' align='left'> <div style='line-height: 170%; text-align: center; word-wrap: break-word;'> <p style='font-size: 14px; line-height: 170%;'><span style='font-family: Cabin, sans-serif; font-size: 18px; line-height: 30.6px;text-transform: uppercase;font-weight: bold;'>Explore</span></p> </div> </td> </tr> </tbody> </table> <table class='services' width='100%' cellpadding='0' cellspacing='0' border='0'> <tr> <td style='padding-right: 0px;padding-left: 0px;padding-bottom: 40px;' align='center'> <a href='https://irungikitchen.com/Standard Cakes' target='_blank'> <img align='center' border='0' src='https://irungikitchen.com/img/service/service-3.png' alt='Standard Cakes' title='Standard Cakes' width='100px'> </a> <div> <p style='font-weight: bold;font-size: 14px;'> <span> Standard Cakes </span> </p> </div> </td> <td style='padding-right: 0px;padding-left: 0px;padding-bottom: 40px;' align='center'> <a href='https://irungikitchen.com/Cake Loaves' target='_blank'> <img align='center' border='0' src='https://irungikitchen.com/img/service/service-1.png' alt='Cake Loaves' title='Cake Loaves' width='100px'> </a> <div> <p style='font-weight: bold;font-size: 14px;'> <span> Cake Loaves </span> </p> </div> </td> <td style='padding-right: 0px;padding-left: 0px;padding-bottom: 40px;' align='center'> <a href='https://irungikitchen.com/Cookies' target='_blank'> <img align='center' border='0' src='https://irungikitchen.com/img/service/service-5.png' alt='Cookies' title='Cookies' width='100px'> </a> <div> <p style='font-weight: bold;font-size: 14px;'> <span> Cookies </span> </p> </div> </td> </tr> <tr> <td style='padding-right: 0px;padding-left: 0px;padding-bottom: 30px;' align='center'> <a href='https://irungikitchen.com/Donuts' target='_blank'> <img align='center' border='0' src='https://irungikitchen.com/img/service/service-6.png' alt='Donuts' title='Donuts' width='100px'> </a> <div> <p style='font-weight: bold;font-size: 14px;'> <span> Donuts </span> </p> </div> </td> <td style='padding-right: 0px;padding-left: 0px;padding-bottom: 30px;' align='center'> <a href='https://irungikitchen.com/Cinamon Rolls' target='_blank'> <img align='center' border='0' src='https://irungikitchen.com/img/service/service-5.png' alt='Cinamon Rolls' title='Cinamon Rolls' width='100px'> </a> <div> <p style='font-weight: bold;font-size: 14px;'> <span> Cinamon Rolls </span> </p> </div> </td> <td style='padding-right: 0px;padding-left: 0px;padding-bottom: 30px;' align='center'> <a href='https://irungikitchen.com/Cinamon Rolls' target='_blank'> <img align='center' border='0' src='https://irungikitchen.com/img/service/service-2.png' alt='Large Muffins' title='Large Muffins' width='100px'> </a> <div> <p style='font-weight: bold;font-size: 14px;'> <span> Large Muffins </span> </p> </div> </td> </tr> </table> </td> </tr> </tbody> </table> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:10px 10px 55px;font-family:Cabin,sans-serif;' align='left'> <div align='center'> <a href='https://irungikitchen.com' target='_blank' style='box-sizing: border-box;display: inline-block;font-family:Cabin,sans-serif;text-decoration: none;-webkit-text-size-adjust: none;text-align: center;color: #ffffff; background-color: #f195b2; border-radius: 4px;-webkit-border-radius: 4px; -moz-border-radius: 4px; width:auto; max-width:100%; overflow-wrap: break-word; word-break: break-word; word-wrap:break-word; mso-border-alt: none;'> <span style='display:block;padding:13px 55px;line-height:120%;'><span style='font-family: Cabin, sans-serif; font-size: 16px; line-height: 19.2px;'><span style='line-height: 19.2px; font-size: 16px;'>SEE MORE</span></span></span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <div class='u-row-container' style='padding: 0px;background-color: transparent'> <div class='u-row' style='Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #f195b2;'> <div style='border-collapse: collapse;display: table;width: 100%;background-color: transparent;'> <div class='u-col u-col-100' style='max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;'> <div style='width: 100% !important;'> <div style='padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;'> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:44px 55px;font-family:Cabin,sans-serif;' align='left'> <div class='lead' style='color: #ffffff; line-height: 230%; text-align: center; word-wrap: break-word;'> <p style='font-size: 14px; line-height: 230%;'><em><span style='font-family: Cabin, sans-serif; font-size: 12px; line-height: 41.4px;'>'A confectionary kitchen with fresh natural goodness, in which baked sparkles of joy spread into your mouth from its origin.'</span></em></p> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <div class='u-row-container' style='padding: 0px 0px 17px;background-color: transparent'> <div class='u-row' style='Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: transparent;'> <div style='border-collapse: collapse;display: table;width: 100%;background-color: transparent;'> <div class='u-col u-col-100' style='max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;'> <div style='width: 100% !important;'> <div style='padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;'> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:23px 10px 10px;font-family:Cabin,sans-serif;' align='left'> </td> </tr> </tbody> </table> <table border='0' cellspacing='0' cellpadding='0' width='100%' height='32' style='border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;margin-right: 0px'> <tbody> <tr style='vertical-align: top' align='center'> <td valign='middle' style='word-break: break-word;border-collapse: collapse !important;vertical-align: top'> <a href='https://facebook.com/kerriskidcare' target='_blank'> <img src='https://irungikitchen.com/img/socials/fb.png' style='width:35px;border-radius: 100px;' alt='Facebook'> </a> </td> <td valign='middle' style='word-break: break-word;border-collapse: collapse !important;vertical-align: top'> <a href='https://twitter.com/kerriskidcare' target='_blank'> <img src='https://irungikitchen.com/img/socials/twitter.png' style='width:35px;border-radius: 100px;' alt='twitter'> </a> </td> <td valign='middle' style='word-break: break-word;border-collapse: collapse !important;vertical-align: top'> <a href='https://instagram.com/kerriskidcare' target='_blank' style='color: black;font-size: 14px;'> <img src='https://irungikitchen.com/img/socials/instagram.png' style='width:35px;border-radius: 100px;' alt='Instagram'> </a> </td> <td valign='middle' style='word-break: break-word;border-collapse: collapse !important;vertical-align: top'> <a href='https://wa.me/256707681086?text=https://irungikitchen.com *Let's Chat* %0D%0A %0D%0A Hello, Welcome to Irungi Whatsapp Support, what do you want to talk about? %0D%0A %0D%0A' target='_blank'> <img src='https://irungikitchen.com/img/socials/whatsapp.png' style='width:35px;border-radius: 100px;' alt='Whatsapp'> </a> </td> </tr> </tbody></table> </div> </div> </td> </tr> </tbody> </table> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:Cabin,sans-serif;' align='left'> <div style='color: #f195b2; line-height: 170%; text-align: center; word-wrap: break-word;'> <p style='font-size: 14px; line-height: 170%;'><a href='https://irungikitchen.com' style='text-decoration: none; color: #f195b2;'>https://irungikitchen.com</a> | <a href='mailto:info@irungikitchen.com' style='text-decoration: none; color: #f195b2;'>info@irungikitchen.com</a></p> <p style='font-size: 14px; line-height: 170%;'><a href='https://maps.app.goo.gl/Qc6a1c9aheXEc7Dq8' style='text-decoration: none; color: #f195b2;'> 25 Kenneth Dale Drive, Kamwokya</a></p> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </td> </tr> </tbody> </table> <table style='font-family:Cabin,sans-serif;' role='presentation' cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:Cabin,sans-serif;' align='left'> <div style='line-height: 170%; text-align: center; word-wrap: break-word;font-size: 12px;color: gray;'> <p style='font-weight: bold;'> Irungi Kitchen © <script>document.write(new Date().getFullYear());</script> Copyright. All Rights Reserved</p> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </td> </tr> </tbody> </table> "; try { $mail->send(); echo "Success"; } catch (Exception $e) { echo "Mailer Error: " . $mail->ErrorInfo; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Generation time: 2.4 |
proxy
|
phpinfo
|
Settings