prdatur / phpminer

PHPMiner is a web interface for cgminer on linux machines
Other
34 stars 15 forks source link

PHPMAILER hard configured to use SSL #5

Closed DanielNagy closed 10 years ago

DanielNagy commented 10 years ago

PHPMAILER has the following code

                    $mail->SMTPAuth = true;
                    $mail->SMTPSecure = 'ssl';

So the "SMTP Security:" option has no effect, especially when security is set to none

DanielNagy commented 10 years ago

Also need to be able to specify a "from" address instead of the message coming from ..

Root User root@localhost
prdatur commented 10 years ago

Have pushed the changes. you can now configurate the from address and check if security was activated and only then use the SMTPAuth + SMTPSecure. Please test it and tell me if all works well.

DanielNagy commented 10 years ago

It seems to work now, however, cannot specify the "name" ie, it still says Root User Root User <miners@domain.com>

Also tried to specify it in the from address, and got this Root User <Miner > <miners@domain.com>

prdatur commented 10 years ago

added fromname config. please test it.

DanielNagy commented 10 years ago

Yep working now. please update version to 1.2.1 so the new version bar disappears :)

prdatur commented 10 years ago

:) Will do it tomorrow, need now to go to bed... 7 hours and i need to be awake again :)