Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- # Include and load PHPMailer:
- require_once 'libs/utils/PHPMailer-5.2.16/PHPMailerAutoload.php';
- $mail = new PHPMailer();
- # Config the SMTP
- $mail->CharSet = 'UTF-8';
- $mail->IsSMTP();
- $mail->Host = '';
- $mail->SMTPAuth = true;
- $mail->Username = '';
- $mail->Password = '';
- # Set the mail
- $mail->From = '';
- $mail->FromName = '';
- $mail->AddAddress($_POST['email'], $_POST['name']);
- $mail->Subject = '';
- $mail->Body = '';
- # Send
- $mail->send();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement