iPédiatre
Page principale
Classes
Fichiers
Liste des fichiers
Membres de fichier
Tout
Classes
Fichiers
Fonctions
Variables
html
extension
ipediatre
classes
iPMailTransport.php
Aller à la documentation de ce fichier.
1
<?php
5
class
iPMailTransport
6
{
7
private
$transport;
8
9
public
function
__construct
(eZINI
$ini
)
10
{
11
$host
= $ini->variable(
'MailSettings'
,
'TransportServer'
);
12
$port = $ini->variable(
'MailSettings'
,
'TransportPort'
);
13
14
$this->transport =
new
ezcMailSmtpTransport(
$host
, null, null, $port);
15
}
16
17
public
function
send
(ezcMail $mail)
18
{
19
$this->transport->send($mail);
20
}
21
}
Généré le Mercredi Mars 12 2014 19:06:36 pour iPédiatre par
1.8.3.1