blackguerilla / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

ssl connection for PHPmailer/SMTP #424

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The interface doesn't allow use of SSL / TSL when configuring SMTP options for 
mail notification.
I had to hard-code it as a workaround

Original issue reported on code.google.com by gpetitco...@gmail.com on 11 Jan 2014 at 12:43

GoogleCodeExporter commented 9 years ago
Please can you share your solution for this? I try to do the same but don't 
know PHP coding.

Original comment by gian.k...@gmail.com on 23 Feb 2014 at 11:41

GoogleCodeExporter commented 9 years ago
In file includes/classes/send-email.php, add a line after line 406 
$this->send_mail->SMTPSecure = 'ssl';
you might need to change 'ssl' by 'tls'.
your text block should look like this after correcting :
switch (MAIL_SYSTEM) {
 case 'smtp':
  $this->send_mail->IsSMTP();
  $this->send_mail->SMTPAuth = true;
  $this->send_mail->Host = SMTP_HOST;
  $this->send_mail->Port = SMTP_PORT;
  $this->send_mail->Username = SMTP_USER;
  $this->send_mail->Password = SMTP_PASS;
  $this->send_mail->SMTPSecure = 'ssl';
 break;

Original comment by gpetitco...@gmail.com on 25 Feb 2014 at 8:09

GoogleCodeExporter commented 9 years ago
THANK YOU!!!!! friend, that works great, now I've a fully functional 
ProjectSend.

Original comment by gian.k...@gmail.com on 26 Feb 2014 at 6:19

GoogleCodeExporter commented 9 years ago
Added an UI for this on r528. It will be available in the next release. Thank 
you!!

Original comment by i...@subwaydesign.com.ar on 7 Mar 2014 at 7:04

GoogleCodeExporter commented 9 years ago
I have configured the mail settings in "includes/classes/send-email.php" both 
with tls port 587 and with ssl 465, with and without my full gmail username and 
password using both smtp and gmail from the options menu and I still do not 
receive any kind of notifications.. Someone please advise what I am configuring 
wrong? Thanks in advance

Original comment by m.mcka...@xtreme-3d.com on 2 Jun 2015 at 3:34