[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/phpgwapi/inc/ -> class.send.inc.php (sommaire)

(pas de description)

Poids: 171 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 phpgwapi/inc/class.phpmailer.inc.php

Définit 1 class

send:: (4 méthodes):
  send()
  ClearAll()
  msg()
  encode_subject()


Classe: send  - X-Ref

New eGW send-class. It implements the old interface (msg-method) on top of PHPMailer.

The configuration is read from Admin >> Site configuration and it does NOT depend on one of the email-apps anymore.

send()   X-Ref
eGW specific initialisation of the PHPMailer: charset, language, smtp-host, ...

To be able to call PHPMailer's Send function, we check if a subject, body or address is set and call it in that case,
else we do our constructors work.

ClearAll()   X-Ref
Reset all Settings to send multiple Messages


msg($service, $to, $subject, $body, $msgtype='', $cc='', $bcc='', $from='', $sender='', $content_type='', $boundary='Message-Boundary')   X-Ref
Emulating the old send::msg interface for compatibility with existing code

You can either use that code or the PHPMailer variables and methods direct.

encode_subject($subject)   X-Ref
encode 8-bit chars in subject-line

This is not needed any more, as it is done be PHPMailer, but older code depend on it.



Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7