SMTPDebug = 1; // Enable verbose debug output $mail->isSMTP(); // Set mailer to use SMTP $mail->Host = 'md-in-25.webhostbox.net'; // Specify main and backup SMTP servers $mail->SMTPAuth = true; // Enable SMTP authentication $mail->Username = 'no-reply@aptea.com'; // SMTP username $mail->Password = 'qp^a15[,=mC!'; // SMTP password $mail->SMTPSecure = 'ssl'; // Enable TLS encryption, `ssl` also accepted $mail->Port = 465; // TCP port to connect to //Recipients $mail->setFrom('no-reply@aptea.com', 'Aptea Contact Form'); $mail->addAddress('info@americanlegacybrands.com', 'Aptea'); // Add a recipient $mail->addReplyTo($your_email, $your_name); //Attachments // $mail->addAttachment($file); // Add attachments //$mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name //Content $mail->isHTML(true); // Set email format to HTML $mail->Subject = 'Contact Us Form'; $mail->Body = 'Name:'.$your_name."
".'Email:'.$your_email."
".'Message:'.$message; $mail->AltBody = $your_name.$eol.$your_email.$eol.$message; $mail->send(); $message_sucess = 'yes'; } catch (Exception $e) { $message_error = 'yes'; } } ?> Contact Us | Waldbaums

Contact us

Send a message


Name

Email


Messagge


Congratulations. Your message has been sent successfully
Error, please retry. Your message has not been sent

How to reach us