-
Notifications
You must be signed in to change notification settings - Fork 0
/
teste.php
23 lines (20 loc) · 862 Bytes
/
teste.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
include_once 'phpmailer/PHPMailerAutoload.php'; //LIVRARIA PHPMAILER
$mail->Subject = 'I9 - Parabens!';
$mail = new PHPMailer;
$mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = 'smtp.gabrieldesign.pt'; // Specify main and backup SMTP servers
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = '[email protected]'; // your email id
$mail->Password = 'oo00OO=='; // your password
$mail->SMTPSecure = 'tls';
$mail->Port = 25; //587 is used for Outgoing Mail (SMTP) Server.
$mail->setFrom('[email protected]', 'I9');
$mail->addAddress("[email protected]"); // Add a recipient
$mail->isHTML(true); // Set email format to HTML
$mail->Subject = 'I9 - Parabens!';
$mail->Body = "Ya";
if(!$mail->send()) {
} else {
}
?>