1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# SlickFolio: A ThemeForest Theme 
# By Eric A. (http://from.two2twelve.com)
# http://themeforest.net/item/slickfolio-photographer-web-designer-creative-portfolio/25520

# Gmail Settings
# Open file: scripts/sendEmail.php
# Replace the following:

// EDIT THIS!!

$mail->Mailer = "smtp";
$mail->Host = "mail.yourdomain.com";
$mail->Port = 25;

$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = "[email protected]"; // SMTP username
$mail->Password = "yourpassword"; // SMTP password

$mail->Send();

# With:

// EDIT THIS!!

$mail->Mailer = "smtp";
$mail->Host = "smtp.gmail.com";
$mail->Port = 587;
$mail->SMTPSecure = "tls"; 

$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = "[email protected]"; // SMTP username
$mail->Password = "password"; // SMTP password

$mail->Send();