Email

Email for Forgot Password

When user use function Forgot Password system will send username and password into their email, for sending email we need to configure SMTP email account. To make this feature works you must follow this step 1. To get SMTP account credentials, you can read this arcticle http://blog.dream-space.web.id/?p=200 2. Once you get your SMTP data yo can configure into file services/conf.php by following value

services/conf.php
public $SMTP_SSL--> you can choose using SSL or non SSL email
public $SMTP_EMAIL --> fill with your smtp account Username
public $SMTP_PASSWORD --> fill with your smtp account Password
public $SMTP_HOST --> fill with your smtp Host
public $SMTP_PORT --> fill with your smtp Port

EMAIL TEMPLATING AND SUBJECT TITLE

  • Still at file services/conf.php you can configure tittle for email document and email subject.

  • For HTML email template you can edit at services/tools/template/forgot_pass_template.html we use simple HTML code over for email content.

GO DADDY HOSTING

If your hosting provider is GoDaddy, its need special configuration, https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting#godaddy $SMTP_HOST = "localhost"; $SMTP_PORT = 25;

  1. Edit your conf.php change the SMTP_PORT to 25 and SMTP_HOST to localhost

  2. Edit your services/tools/mail_handler.php change all SMTPAuth to false and add SMTPAutoTLS with value false, like this :

$mailer->SMTPAuth = false; $mailer->SMTPAutoTLS = false;

Last updated

Was this helpful?