+ Fixed encoding bug in email
This commit is contained in:
parent
59a61c1d98
commit
45c54a1155
|
@ -59,6 +59,7 @@ class Messenger
|
|||
$this->mail->Password = 'ilink2017GA'; // SMTP password
|
||||
$this->mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; // Enable TLS encryption; `PHPMailer::ENCRYPTION_SMTPS` encouraged
|
||||
$this->mail->Port = 587;
|
||||
$this->mail->CharSet = 'UTF-8';
|
||||
|
||||
try {
|
||||
$this->client = new Client(Messenger::AccountSid,Messenger::AuthToken);
|
||||
|
@ -89,7 +90,7 @@ class Messenger
|
|||
}
|
||||
public function sendMail(){
|
||||
//Recipients
|
||||
$this->mail->setFrom('noreply@ilink-app.com', 'Ilink World');
|
||||
$this->mail->setFrom('noreply@ilink-app.com', 'iLink World');
|
||||
$this->mail->addAddress($this->getReceiverMail()); // Add a recipient
|
||||
// Content
|
||||
// $this->mail->isHTML(true); // Set email format to HTML
|
||||
|
|
Loading…
Reference in New Issue