ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilMailMimeTransportSmtp Class Reference

Class ilMailMimeTransportSmtp. More...

+ Inheritance diagram for ilMailMimeTransportSmtp:
+ Collaboration diagram for ilMailMimeTransportSmtp:

Protected Member Functions

 onBeforeSend ()
 
- Protected Member Functions inherited from ilMailMimeTransportBase
 getMailer ()
 
 setMailer ($mailer)
 
 resetMailer ()
 
 onBeforeSend ()
 

Additional Inherited Members

- Public Member Functions inherited from ilMailMimeTransportBase
 __construct (\ilSetting $settings)
 ilMailMimeTransportBase constructor. More...
 
 send (ilMimeMail $mail)
 
Parameters
ilMimeMail$mail
Returns
bool
More...
 
- Protected Attributes inherited from ilMailMimeTransportBase
 $mailer
 
 $settings
 

Detailed Description

Class ilMailMimeTransportSmtp.

Definition at line 9 of file class.ilMailMimeTransportSmtp.php.

Member Function Documentation

◆ onBeforeSend()

ilMailMimeTransportSmtp::onBeforeSend ( )
protected

Definition at line 14 of file class.ilMailMimeTransportSmtp.php.

References settings().

15  {
16  $this->mailer->isSMTP();
17 
18  $this->mailer->Host = $this->settings->get('mail_smtp_host');
19  $this->mailer->Port = (int) $this->settings->get('mail_smtp_port');
20  if (strlen($this->settings->get('mail_smtp_user')) > 0) {
21  $this->mailer->SMTPAuth = true;
22  $this->mailer->Username = $this->settings->get('mail_smtp_user');
23  $this->mailer->Password = $this->settings->get('mail_smtp_password');
24  }
25  $this->mailer->SMTPSecure = $this->settings->get('mail_smtp_encryption');
26  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: