Your PHP skills tool showed me were I needed to improve and how to do it! "Il tuo PHP strumento mi ha mostrato le abilità sono state avevo bisogno di migliorare e come farlo!"
Tom

RocksEmail Classe

Descrizione

Questo rappresenta un e-mail.

Questo gestisce gli allegati aggiungendo, cc e tutte le altre parti di e-mail.

  • array $to: an array of recipients that the email is being sent to proprietà leggere: array $ a: una serie di destinatari che l'e-mail viene inviata a
  • array $cc: the carbon copy addresses of the email proprietà leggere: array $ cc: gli indirizzi copia dell'e-mail
  • array $bcc: the blind carbon copy addresses of the email proprietà leggere: array $ bcc: i ciechi indirizzi di carbonio copia dell'e-mail
  • array $attachments: the attachments of the email proprietà leggere: array $ allegati: gli allegati delle e-mail
  • string $subject: the subject of the email proprietà: stringa $ soggetto: il soggetto della mail
  • string $from: the from address of the email proprietà: stringa $ a partire da: l'indirizzo del mittente della mail
  • string $body: the body of the email proprietà: stringa $ corpo: il corpo della mail
  • string $includeHtml: include a html version in the email proprietà: stringa $ IncludeHTML: include una versione html nella e-mail
  • Dominic Skinner autore: Dominic Skinner
  • 0.2.1 Versione: 0.2.1

) Trova in / RocksEmail.php (linea 21)

Metodo Sommario
AddAttachement ( string $filename , [ string $fileType = null ], [ string $data = null ]) vuoto AddAttachement (string $ filename, [stringa $ filetype = null], [string $ data = null])
AddBCC ( string $address ) vuoto AddBCC (string $ indirizzo)
AddCC ( string $address ) vuoto AddCC (string $ indirizzo)
AddTemplatedBody ( string $templateFilename ) vuoto AddTemplatedBody (string $ templateFilename)
AddTo ( string $address ) vuoto AddTo (string $ indirizzo)
Send () void Invia ()
__get ( vuoto __get ( ) $ Var)
__set ( vuoto __set ( , $ Var, ) $ VarValue)
__toString () vuoto __toString ()
Metodi
(line 122 ) AddAttachement (linea 122)

Questo aggiunge un allegato alla mail.

  • public accesso: pubblico
AddAttachement ( string $filename , [ string $fileType = null ], [ string $data = null ]) vuoto AddAttachement (string $ filename, [stringa $ filetype = null], [string $ data = null])
  • $filename : the filename of the attachment stringa $ filename: il nome del file allegato
  • $fileType : the file type of the attachment stringa $ filetype: il tipo di file dell'allegato
  • $data : of the attachment this is not needed as it can be retrieved from the filename. stringa $ data: dell'attaccamento non è necessaria, dato che possono essere recuperate dal nome del file.
(line 69 ) AddBCC (linea 69)

Questo aggiunge un indirizzo e-mail alla lista di indirizzi e-mail copia conoscenza nascosta

  • public accesso: pubblico
AddBCC ( string $address ) vuoto AddBCC (string $ indirizzo)
  • $address : the email address to add stringa $ address: l'indirizzo email di aggiungere
(line 60 ) AddCC (linea 60)

Questo aggiunge un indirizzo e-mail alla lista di indirizzi copia e-mail

  • public accesso: pubblico
AddCC ( string $address ) vuoto AddCC (string $ indirizzo)
  • $address : the email address to add stringa $ address: l'indirizzo email di aggiungere
(line 81 ) AddTemplatedBody (linea 81)

Questo aggiunge un corpo modelli per l'indirizzo di posta elettronica che rende il lavoro con e-mail molto più semplice.

Tutti i parametri dopo il $ templatedFilename vengono poi utilizzati nel modello. Ci devono essere almeno due parametri passati a questo metodo.

  • public accesso: pubblico
AddTemplatedBody ( string $templateFilename ) vuoto AddTemplatedBody (string $ templateFilename)
  • $templateFilename : the filename of the templated body stringa $ templateFilename: il nome del file del corpo templated
(line 51 ) AddTo (linea 51)

Questo aggiunge un indirizzo e-mail alla lista di indirizzi email

  • public accesso: pubblico
AddTo ( string $address ) vuoto AddTo (string $ indirizzo)
  • $address : the email address to add stringa $ address: l'indirizzo email di aggiungere
(line 130 ) Send (linea 130)

Questo invia l'e-mail.

  • public accesso: pubblico
Send () void Send ()
(line 42 ) __get (linea 42)
  • public accesso: pubblico
__get ( __get vuoto ( ) $ Var)
  • $ Var
(line 33 ) __set (linea 33)
  • public accesso: pubblico
__set ( __set vuoto ( , $ Var, ) $ VarValue)
  • $ Var
  • $ VarValue
(line 177 ) __toString (linea 177)
  • public accesso: pubblico
__toString () vuoto __toString ()

Nessun commento è stato fornito.
immagine di sicurezza

Scritto da Dominic Skinner
Ultimo aggiornamento: 2011/10/25 16:00:38