Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 662 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 662 Bytes

Login Register

These files acompany the tutorial: Login and Registration system with PHP

send emails locally

For anyone who is struggling with emails locally I highly recommend using https://mailtrap.io this is a great service to catch emails when working locally.

To set it up open classes/phpmailer/mail.php and enter the SMTP details:

Ensure you enter the username and password provided from mailtrap.

public $Host = 'smtp.mailtrap.io';
public $Mailer = 'smtp';
public $SMTPAuth = true;
public $Username = '';
public $Password = '';
//public $SMTPSecure = 'tls';