janus-ssp / janus

Fully featured metadata registration administration module built on top of simpleSAMLphp.
Other
13 stars 8 forks source link

Mail function #630

Open Jockel007 opened 6 years ago

Jockel007 commented 6 years ago

For using the mailing-function in the Janus-Messenger, I had to change some lines in the code to get this function working (, if Janus authentification source will deliver the attribute „mail" and basic sendmail-function is working on the server).

Is it possible, to include it for other users of Janus? janus/www/newUser.php: @var string $email */ $email = $attributes['mail'][0];

$user->setEmail($email);

janus/lib/User.php: public function getEmail() { return $this->_email; }

janus/lib/Messenger/SimpleMail.php: protected function __construct(array $option = null)