Contact Us

Get in Touch

Phone: 0791424940 / 0785375311

Email: magotherichard@gmail.com

Connect with us on:

Telegram | WhatsApp | Instagram

Send us a message

isSMTP(); // Send using SMTP $mail->Host = 'smtp.gmail.com'; // Set the SMTP server to send through $mail->SMTPAuth = true; // Enable SMTP authentication $mail->Username = 'joegichangi@gmail.com'; // SMTP username $mail->Password = 'sqlh qwqp fywc wuqw'; // SMTP password $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; // Enable TLS encryption $mail->Port = 587; // TCP port to connect to // Recipients $mail->setFrom($_POST['email'], $_POST['name']); $mail->addAddress('magotherichard@gmail.com'); // Add your recipient // Content $mail->isHTML(true); // Set email format to HTML $mail->Subject = 'New Contact Message'; $mail->Body = 'Name: ' . $_POST['name'] . '
Email: ' . $_POST['email'] . '
Message: ' . $_POST['message']; // Send email $mail->send(); echo '

Thank you! Your message has been sent.

'; } catch (Exception $e) { echo '

Message could not be sent. Mailer Error: ' . $mail->ErrorInfo . '

'; } } ?>

Thank you for sending us your message!