gyro/core/lib/components/mailmessagebuilder/imailmessagebuilder.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Base interfae for mail message builders 00004 */ 00005 interface IMailMessageBuilder { 00006 /** 00007 * Return mime type of mail as a whole 00008 * 00009 * @return string 00010 */ 00011 public function get_mail_mime(); 00012 00013 /** 00014 * Return mail body 00015 * 00016 * @return string 00017 */ 00018 public function get_body(); 00019 00020 /** 00021 * Return additional mail headers 00022 * 00023 * @attention Content-Type header is already added 00024 * 00025 * @return $headers Associative array with header name as key 00026 */ 00027 public function get_additional_headers(); 00028 }