ILIAS  release_7 Revision v7.30-3-g800a261c036
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 (PHPMailer $mailer)
 
 resetMailer ()
 
 onBeforeSend ()
 

Additional Inherited Members

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

Detailed Description

Class ilMailMimeTransportSmtp.

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

Member Function Documentation

◆ onBeforeSend()

ilMailMimeTransportSmtp::onBeforeSend ( )
protected

Reimplemented from ilMailMimeTransportBase.

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

12 : void
13 {
14 $this->mailer->isSMTP();
15
16 $this->mailer->Host = $this->settings->get('mail_smtp_host');
17 $this->mailer->Port = (int) $this->settings->get('mail_smtp_port');
18 if (strlen($this->settings->get('mail_smtp_user')) > 0) {
19 $this->mailer->SMTPAuth = true;
20 $this->mailer->Username = $this->settings->get('mail_smtp_user');
21 $this->mailer->Password = $this->settings->get('mail_smtp_password');
22 }
23 $this->mailer->SMTPSecure = $this->settings->get('mail_smtp_encryption');
24 $this->mailer->SMTPDebug = 4;
25 }
settings()
Definition: settings.php:2

References settings().

+ Here is the call graph for this function:

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