Browse Source

Mail configuration

Michael Francis 14 years ago
parent
commit
97a1eda181
1 changed files with 14 additions and 0 deletions
  1. 14 0
      config/bootstrap/mail.php

+ 14 - 0
config/bootstrap/mail.php

@@ -0,0 +1,14 @@
+<?php 
+
+use li3_swiftmailer\mailer\Transports;
+
+Transports::config(array('default' => array(
+    'adapter' => 'Smtp',
+    'host' => 'smtp.google.com',
+    'port' => 587,
+    'encryption' => 'tls',
+    'username' => 'you@gmail.com',
+    'password' => '#########'
+)));
+
+?>