Construtor da Classe.
$mail->from =
"foo@bar.com";
$mail->headers =
"Errors-To: foo@bar.com";
$mail->to =
"bar@foo.com";
$mail->body =
"This is just a test.";
mime_mail
mime_mail
(string $this->parts;, string $this->to;, string $this->from;, string $this->headers;, string $this->subject;, string $this->body;, string $this->charset)
-
string
$this->parts;: = partes da mensagem, imagens CID, anexos e body
-
string
$this->to;: = para quem a mensagem se destina formato de email �nico
-
string
$this->from;: = de quem
-
string
$this->headers;: = todos os cabecalhos de tipo mime... setado automaticamente.
-
string
$this->subject;: = assunto
-
string
$this->body;: = conteudo da mensagem
-
string
$this->charset: = tipo de formata��o (Valor Default iso-8859-1)
Attach Arquivos.
$mail->from =
"foo@bar.com";
$mail->headers =
"Errors-To: foo@bar.com";
$mail->to =
"bar@foo.com";
$mail->body =
"This is just a test.";
void
add_attachment
( $message, [ $name = ""], [ $ctype = "application/octet-stream"], string $message;, string $name;, string $ctype;)
-
string
$message;: = partes da mensagem, imagens CID, anexos e body
-
string
$name;: = para quem a mensagem se destina formato de email �nico
-
string
$ctype;: = de quem
-
$message
-
$name
-
$ctype
Build message parts of an multipart mail.
void
build_message
( $part, string $part;)
-
string
$part;: = Mensagem
-
$part
Build a multipart mail.
void
build_multipart
()
Send the mail (last class-function to be called).
$mail->from =
"foo@bar.com";
$mail->headers =
"Errors-To: foo@bar.com";
$mail->to =
"bar@foo.com";
$mail->body =
"This is just a test.";
void
send
()
Seta a propriedade Charset
void
setCharset
(string $pCharset)
-
string
$pCharset: = tipo de codificação da mensagem